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: Bitcompare Speed Issue (Read 2022 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Bitcompare Speed Issue

Hello everyone

I have noticed that the bitcompare function in version 2.24 (64-bit) is significantly slower compared to version 1.6.18, approximately half the speed of the latter.

I saw that the changelog for foobar2000 mentioned:
Quote
New major revision of bitcompare code, improved performance of 64-bit build.

I wonder if this is related?

Thank you.

Re: Bitcompare Speed Issue

Reply #1
32-bit foobar2000 is faster than 64-bit foobar2000 in many audio related things. The internal audio format in 64-bit foobar2000 is also more precise, it uses 64-bit floating point samples. There is twice the amount of data to move and tricks that allowed for example processing four samples at once in 32-bit world may now only be able to process two samples at once.

But that particular changelog entry relates to the fact that Binary Comparator got almost twice as fast in 64-bit foobar2000 after the optimizations.

Re: Bitcompare Speed Issue

Reply #2
so 32bit foobar2000 uses floats and 64bit foobar2000 uses doubles?

Re: Bitcompare Speed Issue

Reply #3
Yes. Though if we are accurate, very old 32-bit foobar2000 versions before v0.9 also used doubles.

Re: Bitcompare Speed Issue

Reply #4
32-bit foobar2000 is faster than 64-bit foobar2000 in many audio related things. The internal audio format in 64-bit foobar2000 is also more precise, it uses 64-bit floating point samples. There is twice the amount of data to move and tricks that allowed for example processing four samples at once in 32-bit world may now only be able to process two samples at once.

But that particular changelog entry relates to the fact that Binary Comparator got almost twice as fast in 64-bit foobar2000 after the optimizations.
Thank you for providing useful information. I've learned more about foobar2000.