13 Jul
2013
13 Jul
'13
12:11 p.m.
Is there any semantic difference between
BUILD_TUPLE 0
LOAD_CONST
MAKE_CLOSURE 0
and
LOAD_CONST
MAKE_FUNCTION 0
?
In other words is there any difference between a function and a closure
that doesn't capture anything? Is it just a speed optimization for a common
case?
Andrea Griffini