Given If the criminal had an accomplice, then he came with the car. [1] The criminal had no accomplice and
Continue readingAuthor: max-sperling
Cache friendly code
Example Analysis The array will be stored in memory like this: [row_0, col_0] … [row_0, col_999] … [row_999, col_0] …
Continue readingCustom fan curve (MSI Afterburner)
If you are not happy with the default fan curve, you can change it with MSI Afterburner. MSI Afterburner (Setup)
Continue readingLayout of std::string (libstdc++)
Source code Analysis $ g++ –version g++ (Ubuntu 13.2.0-4ubuntu3) 13.2.0 $ g++ main.cpp -g $ gdb a.out (gdb) b 7
Continue readingVirtual vs. Template (C++)
Virtual Gets resolved at run-time, leading to a shorter compile-time. Template Gets resolved at compile-time, leading to a shorter run-time.
Continue readingThrowing principles (Judo)
I use the following principles to describe throws. Principles Typical examples Reaping O-soto-gari, O-uchi-gari Sweeping De-ashi-barai, Harai-tsurikomi-ashi Blocking Hiza-guruma, Ko-soto-gake
Continue readingLayout of std:set (libstdc++)
Source code Analysis $ g++ –version g++ (Ubuntu 13.2.0-4ubuntu3) 13.2.0 $ g++ main.cpp -g $ gdb a.out (gdb) b 6
Continue readingComputational complexity – Examples
Easy ▼ calcSum Algorithm Solution – Analysis: L3: Θ(1), L5: Θ(n), L7: Θ(1) – Calculation: Θ(1) + Θ(n) * Θ(1)
Continue readingComputational complexity – O vs. Ω vs. Θ
Introduction I’m talking about the (re)definition done by Donald Knuth, because he changed the one by Hardy and Littlewood (used
Continue reading