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

Optimisations for bytecode for record generated methods

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.12
    • record
    • None

    Description

      In some JMH experiments with generated methods like hashCode and equals for records, there are places where we use record component getters rather than the fields. This impacts performance when compared to Java records and gives different results between normal and emulated records. 

      Attachments

        Issue Links

          Activity

            People

              paulk Paul King
              paulk Paul King
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: