metacoq icon indicating copy to clipboard operation
metacoq copied to clipboard

`tmEval lazy` is slow

Open annenkov opened this issue 4 years ago • 1 comments

I've noticed that even with the fastest reduction strategy available - lazy - running tmEval within the TemplateMonad is still much slower than vm_compute. I have an example for which tmEval lazy takes around 22 sec, and vm_compute finishes in 4.5 sec.

Is there a way of using vm_compute for reduction?

annenkov avatar May 20 '21 07:05 annenkov

That's to be expected indeed. We should indeed have a way to call vm_compute and not just vm_cast.

mattam82 avatar May 21 '21 11:05 mattam82