On Wed, Oct 15, 2008 at 3:08 PM, <[EMAIL PROTECTED]> wrote: > > I think something similar already exists in the platform but is internal. > I'm not sure how stable/useful it is but Ctrl+Shift+T for "StringPool".
Your ctrl-shift-T is a good illustration of 'code bloat' ;) For me that brings up: org.eclipse.core.internal.jobs.StringPool org.eclipse.core.internal.preferences.StringPool org.eclipse.core.internal.utils.StringPool All of which are identical. Eclipse then has a org.eclipse.core.internal.utils.StringPoolJob which calls 'shareStrings(StringPool)' on participating IStringPoolParticipants. Given that StringPool.add() uses a HashMap to reimplement String.intern() I wonder what the performance difference is between StringPool and String.intern()... James _______________________________________________ eclipse-incubator-e4-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/eclipse-incubator-e4-dev
