News for hackers. Stuff that matters.
Re:Memory – Part 4: Intersec’s custom allocators by fruneau on Tuesday October 01, 2013 @03:11PM (#6478408)
The diff is a truncation. The actual error rate is 0.5ms on average. By using a round instead of truncation, we can reduce the error to 0.25ms on average.
Re:Memory – Part 4: Intersec’s custom allocators by blue11 on Tuesday October 01, 2013 @03:40PM (#6478582)
Well, that much is obvious. But if you are going to truncate, you should be consistent. Always truncate towards 0, not sometimes towards 0 and sometimes towards infinity.