Remix.run Logo
▲ nukanse 3 hours ago

Actually, trigonometric tables are still used in high performance computing, because calculating those functions it's slower than reading them from s table. But as ram gets much slower than cpu, direct calculation is being used more.

▲Legend2440 an hour ago | parent [-]

When I was a kid programming in BASIC, this was true. Precomputing lookup tables for trig functions was a significant speedup.

But this hasn't been the case since at least the year 2000. A round-trip to main memory costs hundreds of clock cycles and it's just faster to recompute.