review request (L): 7030453: JSR 292 ClassValue.get method is too slow (original) (raw)
Florian Weimer fweimer at bfk.de
Thu Dec 8 09:55:00 UTC 2011
- Previous message: review request (L): 7030453: JSR 292 ClassValue.get method is too slow
- Next message: review request (L): 7030453: JSR 292 ClassValue.get method is too slow
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- John Rose:
But, in order to respect the "general aim" you are mentioning, I have unhoisted one of the two words from the Class instance itself. This will cause a minor slowdown in JSR 292 use cases.
What about using ClassValue for the various caches instead? enumConstants and enumConstantDirectory seem good candidates (callers cache the value anyway or do additional work while accessing the field).
-- Florian Weimer <fweimer at bfk.de> BFK edv-consulting GmbH http://www.bfk.de/ Kriegsstraße 100 tel: +49-721-96201-1 D-76133 Karlsruhe fax: +49-721-96201-99
- Previous message: review request (L): 7030453: JSR 292 ClassValue.get method is too slow
- Next message: review request (L): 7030453: JSR 292 ClassValue.get method is too slow
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]