'. '

CompileTimeCache

From APIDesign

Revision as of 11:24, 25 July 2009 by JaroslavTulach (Talk | contribs)
Jump to: navigation, search

Caches are usually created during installation time or during first execution/computation. Just like the CacheForModularity, they provide another store for information available elsewhere. This store is easily accessible, faster to read and use which then results in more optimal execution.

However caches can also be created during compilation. With JDK6 and the help of AnnotationProcessors, it is easier than ever. This article shows what has to be done.

Personal tools
buy