I Replaced Every std::endl with \n and the Syscall Count Didn't MoveOn a terminal, nothing changed. Redirect the output to a file and the exact same edit cuts the system call count by 256x. The reason livesβ¦I Replaced Every std::endl with \n and the Syscall Count Didn't MoveOn a terminal, nothing changed. Redirect the output to a file and the exact same edit cuts the system call count by 256x. The reason livesβ¦Saurav M.Β·Sep 16
Slot-Based vs Classic Execution Engine: Why MongoDB Turned Off Its Fastest FeatureTwo engines, one collection, and the accounting problem that decided which one runs your querySlot-Based vs Classic Execution Engine: Why MongoDB Turned Off Its Fastest FeatureTwo engines, one collection, and the accounting problem that decided which one runs your querySaurav M.Β·Sep 8
A Cached Query Plan Can Be Worse Than No Plan at All: The Life Cycle of a Query in MongoDBSame query, same collection, same second. explain() says the query will examine 602 index keys. It examines 140,333. Both numbers areβ¦A Cached Query Plan Can Be Worse Than No Plan at All: The Life Cycle of a Query in MongoDBSame query, same collection, same second. explain() says the query will examine 602 index keys. It examines 140,333. Both numbers areβ¦Saurav M.Β·Sep 2
The Same C++ Struct Is 24 Bytes on Linux and 12 on WindowsYour fields add up to 11. The other 13 bytes are padding, alignment, and the LP64 vs LLP64 split.The Same C++ Struct Is 24 Bytes on Linux and 12 on WindowsYour fields add up to 11. The other 13 bytes are padding, alignment, and the LP64 vs LLP64 split.Saurav M.Β·Aug 31
How C and C++ Compilers Work: From Source to Executable BinaryEverything That Happens Behind GCC and G++: Preprocessing, Assembly, Linkage, and the OS LoaderHow C and C++ Compilers Work: From Source to Executable BinaryEverything That Happens Behind GCC and G++: Preprocessing, Assembly, Linkage, and the OS LoaderSaurav M.Β·Aug 30