Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Use faster CRC16 algorithm to speed up encoding/decoding for CUETools possibel? (Read 1731 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Use faster CRC16 algorithm to speed up encoding/decoding for CUETools possibel?

Hello,

first, thanks to the developers of the great CUETools and Enzo for the faster CRC patch.

Since the last CUETools version is out for quite a while, I have a question what you think about implementing a faster CRC16 algorithm?

I like to ask you developers, to have a look into those CRC patches:

https://hydrogenaud.io/index.php/topic,115900.0.html

https://github.com/mattsta/crcspeed

https://github.com/xiph/flac/pull/57

https://github.com/xiph/ogg/pull/37

I think, that would be a nice improvement.

Thank you in advance.

Greetings

Re: Use faster CRC16 algorithm to speed up encoding/decoding for CUETools possibel?

Reply #1
Just had a quick look at the CUETools source and it should definitely be possible to speed up the CRC16 and CRC32 calculations using the same method I used for FLAC and Ogg.

Another question is how much this would affect overall speed of CUETools workflows (i.e. how much time is currently spent for CRC calculations vs. other things), but I guess it might be worthwhile.

Would be great if the CUETools developers could look into it.

@hydrogenaudio0815: Maybe you should open a feature request at https://github.com/gchudov/cuetools.net/issues. Your post might be overlooked easily here.

 

Re: Use faster CRC16 algorithm to speed up encoding/decoding for CUETools possibel?

Reply #2
Hello Enzo,

thank you for reading and your advise.

Greetings