2 ms·
Next put them in a tree for faster lookups.
by wvbdmp 10mo ago
Next put them in a tree for faster lookups.
- wiz21c 10mo agoWith a tree you'll be limited by the RAM. I advise to use a database.
- actionfromafar 10mo agoMap reduce, cluster geo-failover and CDN caching for optimized coldstarts in case you have to bring it up from scratch in a new datacenter. Bio for contact info, hourly billing. I have helped many startups reach their first 100MARR. Buy my audiobook.
- roguecoder 10mo agoDon't forget to create an index on the composite key [number, is_even]!
- d--b 10mo agoDon't reinvent the wheel, put them in a SQLite table, and let the sql engine create the tree for you!