Community
Participate
Working Groups
For systems with a large number of codes, the size of the code cache is a problem. 1) AbstractCode contains per default a HashMap and ArrayList for child codes. Most codes however do not contain any children at all. -> should be created on demand. 2) The class CodeRow contains many attributes, which are not always used (initialized with null, pointer still uses memory). To avoid this AbstractCode and MutableCode should not be initialized with CodeRow, but with an interface, such that a custom implementation could be used. 3) Sometimes CodeRows need to be converted to LookupRows (e.g. CodeLookupCall). The conversion is time consuming (or memory consuming if cached). CodeRow looks almost the same as LookupRow, but contains some more values. -> an interface for LookupRow and the same base class would save the problem. Problems are solved for project Sika, but fix should be included in Scout, for other projects.
fixed on 17.1.2011, #95492
shipped with eclipse scout 3.7.0