News for hackers. Stuff that matters.
Re:Nearly all binary search and merge sort implementations a... by loeg on Monday January 30, 2012 @09:28PM (#3531535)
size_t is actually 32-bit on some 64-bit platforms; you want uint64_t.
Re:Nearly all binary search and merge sort implementations a... by kragen on Monday January 30, 2012 @10:48PM (#3531732)
If that's true, that's a bug in the platform, not the program. The whole point of size_t is to be however many bits you need to represent the size of things in your address space.