cepl icon indicating copy to clipboard operation
cepl copied to clipboard

Change inlining strategy

Open cbaggers opened this issue 6 years ago • 0 comments

In a number of places we have rather large chunks of code being inlined, the ostensible advantage being that it is more likely to get a with-cepl-content macro form into a scope where the lookup can be elided.

We should identify these cases and change it so that the compiler macro moves the with-cepl-context to the call site and passes it to a varient of the function that accepts the context as an argument.

This will stop code ballooning which also keeping the benefits of the context lookup code

cbaggers avatar May 05 '19 13:05 cbaggers