cakeml
cakeml copied to clipboard
Missed optimization DIVISION by const
Cakeml does not optimize compilation of code that divides by a const into multiplication by magic number. See https://ridiculousfish.com/blog/posts/labor-of-division-episode-iii.html for a more information on how to calculate said magic number.
Related to: https://github.com/CakeML/cakeml/issues/246