Currently, CobaltLuaMachine.toValue, when it gets a value returned from a @LuaFunction, it seems to enumerate all elements of a given Map<?, ?> or Collection<?>, creating Lua objects for each element.
Abstract: Memory allocation is an important part of modern programming languages, including garbage-collected languages such as Java. We propose a fast memory allocation scheme for Java using lazy ...