2009/7/9 Brian J. Tarricone <brian at tarricone.org>: > On 2009/07/09 00:17, Jasper Huijsmans wrote: > >> [1] with red I mean Brian's solution of iterating the list twice in >> order to allow allocating a buffer only once, which is obviously the >> best solution ;-) > > Do I get a cookie? /me gives Brian a cookie. Nick