maxitg / SetReplace

C++/Wolfram Language package for exploring set and graph rewriting systems
MIT License
216 stars 43 forks source link

Enable compiler optimizations for WolframScript builds. #668

Closed georgemorgan closed 2 years ago

georgemorgan commented 2 years ago

Changes

I noticed that the WolframModel evolutions were taking an extremely long time to evaluate. I also noticed that the fairly straightforward evaluation of RandomWolframModel was completely locking up my computer. After looking at the dylib produced by DevUtils/BuildLibSetReplace.m I noticed that it was not being build with compiler optimizations, so I added them.

Comments

Fairly simple, low risk change here assuming we trust the compiler. Should yield more performance for all who want to use this library. :)

Examples

Run ./install.wls to build with compiler optimizations.


This change is Reviewable