Class ProgramCompiler<P extends GlProgram>

java.lang.Object
com.jozufozu.flywheel.core.compile.Memoizer<ProgramContext,P>
com.jozufozu.flywheel.core.compile.ProgramCompiler<P>

public class ProgramCompiler<P extends GlProgram> extends Memoizer<ProgramContext,P>
A caching compiler.

This class is responsible for compiling programs on the fly. An instance of this class will keep a cache of compiled programs, and will only compile a program if it is not already in the cache.