There is a "lineCache" in official text plugin, which provided alloc/free method to decrease the GC of hash table.
My suggestion is , the engine (cr) might provide a global "lineCache" (a single, global "hash table cache") for any plugin which need alloc/free hash table frequently.