« * K @glebv.bsky.social

Gleb Volkov @glebv.bsky.social

2026-09-25 18:03 UTC

After removing `with(Math)`, I profiled the 1KB ray tracer to understand the 4–7× speedup. Surprise: D and Q barely changed. Most of the win came from the hot intersection loop, where free-name lookups checked Math first. That pointed straight at the next bottlenecks. #JavaScript #performance

2 pictures (not shown on this phone)

0 likes, 0 reposts, 1 replies

3 Next post4 More from @glebv.bsky.socialBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup