Update to MakeID.h
Friday, April 3, 2015 | Permalink
If you've been using MakeID.h
I suggest you download the latest version. The previous version had a minor bug that made it copy an element too much when it reduced the number of ranges. This didn't impact functionality, but in edge-cases it could result in a read outside of allocated memory, which if you're really unlucky could cause a crash. Thanks to Markus Billeter for reporting the issue.
Wednesday, May 6, 2015
Sunday, June 5, 2016
Solid implementation. This is definitely a great direction
Sunday, July 8, 2018
There's another off by one bug, in GetAvailableIDs: for each range, count is incremented by one less than the actual number of free IDs in that range. GetLargestContinuousRange, however, does the counting correctly.