lwip-devel
[Top][All Lists]
Advanced

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

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


From: Thomas Mueller
Subject: Re: [lwip-devel] [task #6827] etharp could need some tuning
Date: Tue, 19 Jun 2007 18:52:16 +0200

On Tue, 19 Jun 2007 16:33:21 +0000, Jonathan Larmour wrote:
> 
> Follow-up Comment #39, task #6827 (project lwip):
> [...]
> 
> Making your loops have a comparison against 0 does count as one of the more
> obscure optimisations you can do though, I agree.

That may be true for some architectures or compilers. But the loop in
question copies data 'backwards', i.e. accesses memory from higher to
lower addresses. That could level out the optimisation gained by
tweaking the loop abort criteria on some other architectures.

-- 
Thomas Mueller





reply via email to

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