PrimitiveCache
org.nlogo.generate.PrimitiveCache
object PrimitiveCache
Cache ClassReader objects to speed up bytecode inlining. Instead of reading in the bytes for each of the _prim classes each time, using a getResourceAsStream() call, we keep a cache of the ClassReader objects, which maps classnames to the corresponding ClassReaders. This resulted in a good speedup, though not as much as I had hoped for. ~Forrest (7/9/2006)
Attributes
- Source
- PrimitiveCache.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PrimitiveCache.type
Members list
In this article