top | item 47201401

(no title)

evanb | 1 day ago

Mathematica has symbolic and infinite-precision addition, so you can't automatically take advantage of obvious compiled code.

discuss

order

sfpotter|1 day ago

What? Arbitrary precision arithmetic implemented in a compiled language will be faster than the alternative. This is no great mystery. The same is true of essentially all low-level symbolic or numerical math algorithms. You need to get to a fairly high level before this stops being true.

creato|22 hours ago

Of course. The point is whether you interpret a call to arbitrary_precision_add or compile the call doesn't matter much.