coalton-lang / coalton

Coalton is an efficient, statically typed functional programming language that supercharges Common Lisp.
https://coalton-lang.github.io/
MIT License
1.11k stars 67 forks source link

Coalton floating-point numerics are not at performance parity with Lisp #1167

Open stylewarning opened 1 month ago

stylewarning commented 1 month ago

It is pretty well known that Coalton numerics are not very performant, even in monomorphic. The main reason is that methods don't get inlined, causing a lot of consing of double-float code. We might get a lot of mileage out of Lisp-inlining some choice methods in the standard library until another solution is achieved.

This issue is to track floating-point numerical performance, and closing this issue is gated on reaching performance parity with Lisp for similar code.

stylewarning commented 1 month ago

See also #985.