• Sakthivel Velumani's avatar
    Change loop order to maximize cache hit · 2b7e0a05
    Sakthivel Velumani authored
    It is better to write to memory that are grouped together to reduce
    probability of cache miss. This simple change improved the function's
    execution speed by 70%.
    
    Removed the unnecessary memset for the buffer.
    2b7e0a05
nr_modulation.c 27.2 KB