Elektrine lite

← Feed

@TomF@mastodon.gamedev.place

Post #2716219

2026-04-24 19:36 UTC

@Doomed_Daniel@mastodon.gamedev.place It's a rule of thumb. In general, I find that most C++ perf problems are because you're doing too many alloc/frees, and too many virtual calls. Those are solved by thinking about C. Yes, if you then discover you're thrashing caches or causing too many branch mispredictions, then that's actually a good problem to have - it means your code is faster than almost all other C++ code. Well done.

Replies (0)

No replies.