Log In  

Cart #map_cpu-1 | 2022-02-12 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

TO LOAD THIS CART in immediate mode, type: load #map_cpu

Press 🅾️ to swap modes:

MODE_______________  CPU
0 = map() .........  12%
1 = rectfill() ....   1%
2 = for/end map ... 201%
3 = for/end fill ..  54%

I am not understanding how it is that map() is so much slower than rectfill() when on modes 2 it is only 4x slower than its fill counterpart, mode 3.

It is not the details which should be pretty straight-forward. I mean isn't rectfill() also plotting pixels just the same one each time when compared to map() ?

P#106753 2022-02-12 02:50 ( Edited 2022-02-12 03:11)


[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-20 11:37:56 | 0.019s | Q:14