"For every complex problem, there is a solution that is simple, neat, and wrong."
- H.L. Mencken

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.

Name

Comment

Enter the code below



Jenny Cao
Wednesday, May 6, 2015



Jeb Bradwell
Sunday, June 5, 2016

Solid implementation. This is definitely a great direction

nick
Thursday, April 5, 2018

i imagine reducing the no of rages would be a good thing if reducing meant limiting but to my understanding of chemistry reducing is the complete opposite am i write or rong i dont know

matthew
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.