Currently LuaScript is typed against object. This has disadvantages:
- it forces reflection and a dictionary check per execute
- boxing for value types
- we only use
KEYS superficially (for routing) - the data is duplicated in ARGV
It might be overkill, but we could fix this. We could make LuaScript<T> : LuaScript with a typed new method, that already knows the full binding (computed in Prepare<T>), and making full use of KEYS instead of ARGV (rather than duplicating).
Doesn't seem urgent, but worth a look post 2.0