[Top][All Lists]

[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: Gecko/20070309 Firefox/

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:


  Nachricht geschickt von/durch Savannah

reply via email to

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