Comment

Comment by kitd

One of the reasons for using an ECS is cache coherence. All your game state is lumped together in one chunk or memory. Lookup times are near instant as a result.

Moving to SQLite makes theoretical sense, but you lose the benefit of cache coherence as a result.

Though you probably do gain other benefits.

parent kitd 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton