|
Rockbox mail archiveSubject: RE: Optimized bitswapRE: Optimized bitswap
From: Magnus Holmgren <lear_at_algonet.se>
Date: Wed, 21 Aug 2002 09:09:46 +0200 (CEST) Den 20 Aug 2002 skrev Nielsen Linus (ext): > It swapped from start+2 thru start+len*2 inclusive, when it should swap from > start thru start+len*2-2. True. That would account for the glitches I heard. > I took the liberty of correcting your (really good) code and made the loop > go forward in memory. And i also committed it to the CVS. Thanks. But you could have omitted the comment "(direction IS important)", because that isn't true... :) > And guess what? It seems to be even FASTER than the 16-bit version! :-) Nice. Magnus Received on 2002-08-21 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |