XOR is slow

BlitzPlus Forums/BlitzPlus Programming/XOR is slow

blitzer007(Posted 2004) [#1]
A 1MB file is xor'd (V1.36)in 17 sec. V1.39 need for the same function 35 sec.

blitzer


VIP3R(Posted 2004) [#2]
Try loading the file into a bank and then Xor it.


injeevious(Posted 2004) [#3]
Tried using other operators to make a XOR? Probably slower, but could work.


Michael Reitzenstein(Posted 2004) [#4]
I very much doubt it's XOR causing the slowdown.


AntonyWells(Posted 2004) [#5]
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.


VIP3R(Posted 2004) [#6]

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?


DrMartin(Posted 2004) [#7]
Yes, but if it's as slow as Otacon suggests it's probably something else.