const CACHE_MAX_ENTRIES: usize = 512;
FIFO-bounded result cache, keyed on the input bytes and every parameter.