Community
Participate
Working Groups
Build 3.1m5a When converting AST, DOM is allocating a String for every token. Given these may be shared by underlying Scanner, the DOM representation is wasting memory there. It could do some String interning (at least per DOM AST pipeline basis).
You may want to interact with Jerome to see if you could reuse some of the model infrastructure. In your case, you want to query existing Strings based on a char[] (equals). The model has sets of char[] and String to avoid persisting more than one instance of each, could be something which could be augmented for DOM AST support (and maybe model could start using it as well).
Close as LATER
As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you.