Eric Milles created GROOVY-11159:
------------------------------------

             Summary: ClassNode: separate type declaration information
                 Key: GROOVY-11159
                 URL: https://issues.apache.org/jira/browse/GROOVY-11159
             Project: Groovy
          Issue Type: Improvement
            Reporter: Eric Milles


ClassNode is used to represent type declarations as well as for type 
references.  There are a lot of data members that apply only to type 
declarations.  However, every reference pays the cost.  ClassNode could have a 
single reference to another class (essentially a struct) that holds all the 
declaration information.  With this, type references would only have one 
reference (initialized to null) instead of all those fields.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to