News for hackers. Stuff that matters.
Re:Total Functional Programming (2004) [pdf] by wredue on Thursday March 07, 2024 @09:46AM (#39629701)
Andrew Kelley has a pretty good talk on gaining performance in the zig compiler.

In many cases performing math again is faster than memoization.

General gist is to try to cram as much in to the cache lines as possible, sometimes even at the “cost” of calculating values again.

There are no comments on this comment yet.