lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [task #6827] etharp could need some tuning


From: Simon Goldschmidt
Subject: [lwip-devel] [task #6827] etharp could need some tuning
Date: Wed, 30 May 2007 10:59:35 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

Follow-up Comment #15, task #6827 (project lwip):

>I'm a little concerned at the moment at the number of optional bits of code
we're adding to lwIP.

I've thought of that too :-(

>[..]nor change the array to a list. So one alternative instead is that every
time you get a match, swap the array entry with the one before it (until it's
at the start). 

The redundant code could be avoided if we swap array entries. But that would
include copying 2 entries of 16-20 bytes every time. Re-linking a list would
be much faster at the downside that access to list items is slower.

2 questions:
a) is converting the array to a list really not an option?
b) should this swapping be a configuration option or always on?


To avoid swapping there and back with concurrently active connections, we
could still compare the ctimes...

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?6827>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]