Searching QuantLib::Dates, Part 3Comparing QuantLib::Date objects by their serial number has given us great performance gains, but we can do better. We could continue to push the data points into our output collection individually, b1 min read·chrisspicer.hashnode.devOct 10
Searching QuantLib::Dates, Part 2Search using Serial Numbers The method of comparison used in Part 1 is a naive approach. It requires the application to resolve all dates to their months and years. A better approach is to use the fac2 min read·chrisspicer.hashnode.devOct 4
How the C++ Multimap handles Identical ValuesThe std::multimap can hold multiple values associated with the same key. This differentiates it from std::map, which can only have one value per key. When an item is inserted into the multimap, it will typically be ordered by its key. I then had the ...2 min read·chrisspicer.hashnode.devSep 13, 2024
When White Dwarf magazine published CodeI have a Warhammer habit. I was introduced to the hobby by my older brother in the mid-1980s, so I have an affection for issues of White Dwarf magazine from that era. For those not aware: Games Workshop produce the Warhammer table-top wargame and als...2 min read·chrisspicer.hashnode.devMay 18, 2023