Inserting Nostr events into an in-memory SQLite database is faster than adding them to a native ES6 Map. But if you migrate the database every time, it gets much slower compared to instantiating the ES6 Map every time.