Speeding Up Paranoia a Bit

Danny Cox <[email protected]>
Newsgroups gmane.comp.audio.cd-paranoia.general
Message-ID <1034955168.1387.20.camel@wiley>
Monty,

	I suppose that you already know this, but I tried adding
"-fomit-frame-pointer" to the compile flags for cdparanoia (9.8 from
March 23, 2001), and got an extra 16% or so out of it.

	In this particular case, cdparanoia only printed spaces in it's
progress, so both the drive (a TEAC notebook drive), and the CD were of
exceptionally fine quality.

	I also tried some other things (using pointers into the buffers instead
of buffA[offsetA]), but that didn't seem to buy much.  At that point,
the main time taker is the bit decoding of the flag args.

	I'm still playing around, but don't expect to gain much more without a
major data change perhaps.

	In that vein, roughly how many of the flag arrays actually have bits in
them?  I could count them, of course, but you may know off the top of
your head, and know a better value than my "near perfect" setup is
giving.

	I guess you see where I'm heading: changing the flag array to an array
of struct with char flags instead of the bit fields: a classic
space/time tradeoff.

	At any rate, thanks much for a great program!

-- 
kernel, n.: A part of an operating system that preserves the
medieval traditions of sorcery and black art.

Danny

--- >8 ----
List archives:  http://www.xiph.org/archives/
Paranoia homepage: http://www.xiph.org/paranoia/
To unsubscribe from this list, send a message to '[email protected]'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.