XOR is slow

BlitzPlus Forums/BlitzPlus Programming/XOR is slow

A 1MB file is xor'd (V1.36)in 17 sec. V1.39 need for the same function 35 sec.

blitzer

Try loading the file into a bank and then Xor it.

Tried using other operators to make a XOR? Probably slower, but could work.

I very much doubt it's XOR causing the slowdown.

Reading files are awfully slow in blitz period. Even a straight bank read using readBytes will cripple anything...

I very much hope this is one of the many areas *fixed* for bmax.


Even a straight bank read using readBytes will cripple anything...


Works very fast for me, wouldn't the readfile speed be determined by the harddrive specs?

Yes, but if it's as slow as Otacon suggests it's probably something else.