libcoral/coral — Issue #11: Annotation-based optimizations for native classes in Lua
Author: tbastos
Created: 2011-11-03 05:13:07+00:00
State: open

One huge optimization would be something like @lua.Destructorless or @lua.Plain, which means objects of this type don't need to have their destructors called, making things much easier for the garbage collector.

This would fit perfectly for mathematical types such as vec3, matrix4, etc.