Re: [PATCH 03/10] AXFS: axfs.h

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jared Hulbert <jaredeh@...>
Cc: <Linux-kernel@...>, <linux-embedded@...>, linux-mtd <linux-mtd@...>, Jörn <joern@...>, <tim.bird@...>, <cotte@...>, <nickpiggin@...>
Date: Friday, August 22, 2008 - 7:27 am

On Friday 22 August 2008, Jared Hulbert wrote:

ok, that makes sense.
 

So do I understand right that 3 bytes is your minimum size, and going
smaller than that would not be helpful? Otherwise I would assume that
storing a '5' should only take one byte instead of three.

I don't unsterstand yet why you store the length of each word separate
from the word. Most variable-length codes store that implicitly in
the data itself, e.g. in the upper three bits, so that for storing
0x5, 0x1001, 0xa0000, this could e.g. end up as 0x054010014a0000,
which is shorter than what you have, but not harder to decode.


If you can save 5% on a real-world file system, you have convinced me.


ok.

	Arnd <><
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 03/10] AXFS: axfs.h, Jared Hulbert, (Thu Aug 21, 1:45 am)
Re: [PATCH 03/10] AXFS: axfs.h, Daniel Walker, (Thu Aug 21, 9:10 am)
Re: [PATCH 03/10] AXFS: axfs.h, Jared Hulbert, (Thu Aug 21, 4:07 pm)
Re: [PATCH 03/10] AXFS: axfs.h, Arnd Bergmann, (Thu Aug 21, 8:24 am)
Re: [PATCH 03/10] AXFS: axfs.h, Jared Hulbert, (Thu Aug 21, 6:40 pm)
Re: [PATCH 03/10] AXFS: axfs.h, Arnd Bergmann, (Fri Aug 22, 7:27 am)
Re: [PATCH 03/10] AXFS: axfs.h, Geert Uytterhoeven, (Fri Aug 22, 8:04 am)
Re: [PATCH 03/10] AXFS: axfs.h, Jared Hulbert, (Fri Aug 22, 2:12 pm)
Re: [PATCH 03/10] AXFS: axfs.h, Arnd Bergmann, (Thu Aug 21, 7:31 am)
Re: [PATCH 03/10] AXFS: axfs.h, Jared Hulbert, (Thu Aug 21, 4:05 pm)
Re: [PATCH 03/10] AXFS: axfs.h, Carsten Otte, (Thu Aug 21, 3:51 am)