http://maemo.org/pipermail/maemo-develo ... 03269.html
На Nokia 770 данные оптимизированные функции заполнения/копирования памяти (memset8, memcpyt16) работают заметно быстрее стандартных memset/memcpy:
Код: Выделить всё
Results from my Nokia 770 (TI OMAP1710 250MHz) are the following:
--- running correctness tests ---
all the correctness tests passed
--- running performance tests (memory bandwidth benchmark) ---:
memset() memory bandwidth: 121.22MB/s
memset8() memory bandwidth: 275.94MB/s
memcpy() memory bandwidth (perfectly aligned): 104.86MB/s
memcpy16() memory bandwidth (perfectly aligned): 113.98MB/s
memcpy() memory bandwidth (16-bit aligned): 70.37MB/s
memcpy16() memory bandwidth (16-bit aligned): 101.31MB/s
--- testing performance for random blocks (size 0-15 bytes) ---
memset time: 0.410
memset8 time: 0.260
--- testing performance for random blocks (size 0-511 bytes) ---
memset time: 2.360
memset8 time: 1.140