Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-11415

Bytecode for identity

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.0.0-alpha-9, 4.0.22
    • None
    • None

    Description

      The bytecode for === and !== is to invoke static method, e.g. compareIdentical, compareNotIdentical.

      We could generate better bytecode by leveraging IF_ACMPEQ, IF_ACMPNE, which is same to the bytecode generated by Java compiler.

      Attachments

        Activity

          People

            daniel_sun Daniel Sun
            daniel_sun Daniel Sun
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: