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

indy DTT#castToType usage

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0-beta-1
    • Component/s: Compiler, groovy-runtime
    • Labels:
      None

      Description

      the indy mode has not yet a path for groovy casts. At least the checks for null and object.class==type could be done by indy to simply return object and avoid the call to castToType. castToType is poisson for the JIT, and avoiding it where possible is important.

        Attachments

          Activity

            People

            • Assignee:
              blackdrag Jochen Theodorou
              Reporter:
              blackdrag Jochen Theodorou
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: