cache insns for fast lookup in mapping.c. based on the idea of Dang Hoang Vu