ObjectDB ObjectDB

Issue #1302: Enable intern() for Retrieved Strings

Type: Feature RequestVersion: 2.5.4Priority: NormalStatus: ActiveReplies: 0

Implement a setting, where the developer can specify which Strings should be loaded via the String.intern() function.

Hint for this enhancement: When loading a large list of persons, the persons first names are many time the same ones (here it is Martin, Michael, Thomas, ...). Instead of instantiating every first name with a new String, the user should be able to specify that this field should be loaded via String.intern() (with all its advantages and disadvantages).



To post on this website please sign in.