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

Bytecode for identity

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Implemented
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: