Set whether to cache some values.
By default, the engine will cache the results of
Class.getMethods() and similar calls.
This can speed execution dramatically, but increases the memory
footprint. Also, with caching enabled, references may be held to
objects past the lifetime of any real usage.
If caching is enabled and this method is called with a
false argument, the caches will be emptied.
Caching is enabled by default.
Parameters: enabled - if true, caching is enabled See Also: ClassCache.clearCaches() |