lua datatype & profiling