in reply to Re^3: unpacking 6-bit values
in thread unpacking 6-bit values
It matters if you can optimise the I/O from disk.
Why? They are only read or written from disk once or a few times per run. Runs last many hours, or days. They are decoded many millions of times. The two are unrelated.
The values are compressed because there are many millions of them, and the 25% space saving is crucial both on disk and in memory. They are kept compressed whilst in memory because otherwise they would need to be paged to disk far more often.
The drift is that performance should rarely be addressed too specifically.
Hm. So you'd optimise IO performance but not decode performance?
This is a crock. I bet you'd be the first to complain if the p5p guys couldn't be bothered to consider the performance of the code they write.
I know my application's requirements, and with potentially, 2^47 states to explore, performance is crucial.
If you can't be bothered to make effective use of your users time, money and hardware by writing efficient code; why bother responding to a question clearly aimed at improving performance?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: unpacking 6-bit values
by Tux (Canon) on Dec 12, 2010 at 09:21 UTC | |
by BrowserUk (Patriarch) on Dec 12, 2010 at 14:59 UTC | |
by Tux (Canon) on Dec 12, 2010 at 20:46 UTC | |
|
Re^5: unpacking 6-bit values
by anonymized user 468275 (Curate) on Dec 15, 2010 at 13:57 UTC | |
by Anonymous Monk on Dec 15, 2010 at 14:04 UTC |