News for hackers. Stuff that matters.
Re:A Story Of realloc (And Laziness) by xroche on Sunday April 06, 2014 @03:35PM (#7542419)
Yes and no. The real error here would be to realloc without any geometric progression IMHO - ie. reallocating one more byte each time, which would behave well on Linux (except the libc call cost of course) but not on other implementations (such as some Microsoft's MSVCRT versions). Assuming realloc has no catastrophic performance impact is not something too daring.

There are no comments on this comment yet.