Raku / nqp

NQP
Other
343 stars 131 forks source link

move lookups of op generators out of repeated code #737

Closed timo closed 3 years ago

timo commented 3 years ago

in some cases that moves it from the body of a closure that generates an op to the sub that creates the closure (when we use the same closure for ops that are extremely similar), and in others it moves the lookup from the body of a loop to before the loop, or from two usages to before the usages.