Hi all,
I've written an Isabelle algorithm and exported it to Scala. It seems that the Scala code runs much slower than when using the "value" command within Isabelle, even when I compile the Scala with -opt:inline:**.
I thought the "value" command uses Scala behind the scenes, so I expected the performance of the generated code to match the performance of "value". What can I do to get the performance of my generated code, whether in Scala or another language, to match the "value" command's performance?
Thanks
eval is using Standard ML (more precisely the PolyML compiler)
Without knowing exactly what you did it is hard to know where the problem comes from. But:
Wasn't there also an issue about curried functions being slow in scala or has that been resolved?
I am not aware of an issue, but I though that the generated code was uncurried in scala by default?
Last updated: Dec 21 2024 at 16:20 UTC