> in the normal case you just have > assert-nargs-ee/locals which is very cheap, no? Sure it's not the slowest of instructions, but in the VM it's an extra jump and for the Native part it either bloats the code or one has to jump out to supporting code subs in the VM. Considering the other call overhead it's maybe a non issue but I think we should time current setup with a version where we grovel the callee information from the program datastructure. /Stefan On Fri, Aug 3, 2012 at 2:38 PM, Andy Wingo wrote: > On Fri 03 Aug 2012 13:54, Stefan Israelsson Tampe > writes: > > > A though: > > assert_nargs_ee > > reserve_locals > > assert_nargs_ee_locals > > bind_rest > > bind_kwargs > > > > Could we not implement this logic in the call instructions? > > This is a characteristic of the callee -- more work is needed if there > are optional/kw args, but in the normal case you just have > assert-nargs-ee/locals which is very cheap, no? > > Andy > -- > http://wingolog.org/ >