I built a Vamana-based vector search engine in C++ called sembed-engine. Recently I made a pull request that sped up queries by 16x and builds by 9x. The algorithm stayed exactly the same. The recall stayed at 1.0. The number of visited nodes did not change. The speedup came from data layout. The original code stored vectors as separate objects pointed to by shared_ptr: struct Record { int64_t
For years, the answer to "how much RAM do I need?" was always "more than you have." 4GB became a joke. 8GB became "the bare minimum." 16GB became the new baseline. 32GB started feeling reasonable for developers and gamers. The ceiling kept moving, and the industry was happy to sell you more every time it did. Now, Apple has released the MacBook Neo with 8GB as the base configuration. I've been wat
[03] Designing a Personal Commitment Line — Two Loans, One Defense System This is Part 3 of a 6-part series: Building Investment Systems with Python Every major corporation maintains a revolving credit facility — a pre-arranged borrowing line they can draw from instantly during a crisis. They pay a commitment fee for the privilege of having this standby capacity, even when they don't use it. The