cache __index geted c++ function to object's lua table for speed up