Skip to content
Prev 60039 / 63424 Next

[External] Re: JIT compiler does not compile closures with custom environments

On Wed, 18 Aug 2021, Duncan Murdoch wrote:

            
That is right.
There are various heuristics in the JIT code to avoid spending too
much time in the JIT. The current details are in the source
code. Mostly this is to deal with usually ill-advised coding practices
that programmatically build many small functions.  Hopefully these
heuristics can be reduced or eliminated over time.

For now, putting the code in a package, where the default is to byte
compile on source install, or explicitly calling compiler::cmpfun are
options.

Best,

luke