[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: |
Kieran Mansley |
Subject: |
[lwip-devel] [task #6827] etharp could need some tuning |
Date: |
Fri, 27 Apr 2007 13:17:42 +0000 |
User-agent: |
Opera/8.02 (X11; Linux i686; U; en) |
Follow-up Comment #4, task #6827 (project lwip):
Any cache will have bad cases, there is no perfect solution. I think a one
entry cache is a good compromise between performance and extra memory usage.
An alternative would be to make the table a linked list rather than an array,
and just move the current entry to the head of the list. This should keep the
entries used most near the front, and not require a great overhead as its
just pointer manipulation rather than copying whole entries.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/task/?6827>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/