LoginLogin

ARYOP is awesome!!

Root / General / [.]

12Me21Created:
I did a test comparing ARYOP with a FOR loop. In the test, I used an integer array with 524288 (max number of samples for playing WAV files as BGMs), and used ARYOP/FOR loop to multiply each element by 256, then subtract 32768 (converting it to play with BGMSTREAM)
FOR I = 0 TO LEN(WAV%)-1
 WAV%[I]=WAV%[I]*256-32768
NEXT
'vs
ARYOP #AOPMAD,WAV%,WAV%,256,-32768
Here are the results: FOR loop: 523 frames ARYOP: 9 frames ARYOP is nearly 60 times faster!!

O3DS or N3DS? Please make ARYOP and RINGCOPY into not DLC they don't belong there

o3DS