olsr.funkfeuer.at
Wednesday, August 29, 2007
  Another big step to kill superflous bloat
I rewrote the half of src/lq_packet.[ch] which deals with incoming packets. This was triggered with performance output of gcc procuced by Sven-Ola Tuecke at CCCamp07.
It kills lots of (more than) superflous malloc()s and the same number of (free()s). And it also kills some code.
And if someone wants to play around, I tagged the CVS with BEFORE_LQ_PACKET_PART_1 and AFTER_LQ_PACKET_PART_1.

BTW is *_PART_2 reserved for the sending side - a rewrite of this doesn't seem to save that much CPU power and it is much more complicated, but it is also worth.
 
Comments: Post a Comment



<< Home
olsr next generation development @ funkfeuer

Quick Nav

Links

Mercurial source code repository
funkfeuer.at
freifunk.net
olsr.org
olsr CVS

ARCHIVES
October 2006 / November 2006 / December 2006 / January 2007 / February 2007 / March 2007 / April 2007 / May 2007 / June 2007 / July 2007 / August 2007 / September 2007 / October 2007 / November 2007 / December 2007 / January 2008 /



Google
Locations of visitors to this page