----- Original Message ----- From: "Bojan Smojver" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: 2001. szeptember 10. 10:01 Subject: Re: performance questions - faster Introspector > > One other idea might be to not have static fields in the Introspector, > but rather make them regular private class fields and then keep the > logic simple since it would already be per classloader. But that would > probably increase the overall memory usage of the cache since there > could be duplicates of classes/methods in multiple instances of > Introspector cache. I'm not really sure what I'm talking about here but > what the heck... > Umm. From this point of view, it really makes no difference if the cache is accessed through a static field, or through instance field of a singleton (which is itself probably also referred by a static field). What REALLY helps here is to have Velocity classes loaded through the same disposable class loader used to load your classes - that is, have them in WEB-INF/lib or WEB-INF/classes. Attila.
- RE: performance questions - faster Introspector Paulo Gaspar
- Re: performance questions - faster Introspector Geir Magnusson Jr.
- Re: performance questions - faster Introspector Bojan Smojver
- Re: performance questions - faster Introspector Attila Szegedi
- Re: performance questions - faster Introspector Bojan Smojver
- Re: performance questions - faster Introspector Jon Stevens
- Re: performance questions - faster Introspector Attila Szegedi
- Re: performance questions - faster Introspector Attila Szegedi
- Re: performance questions - faster Introspector Geir Magnusson Jr.
- Re: performance questions - faster Introspector Bojan Smojver
- Re: performance questions - faster Introspector Bojan Smojver
- Re: performance questions - faster Introspector Geir Magnusson Jr.
- Re: performance questions - faster Introspector Attila Szegedi
- Re: performance questions - faster Introspector Bojan Smojver
- RE: performance questions - faster Introspector Paulo Gaspar
- RE: performance questions - faster Introspector Paulo Gaspar
- Re: performance questions - faster Introspector Bojan Smojver
