bsekisser/simavr — pull request #2 by bsekisser (2014-02-27 19:09:03+00:00)
Title: sim_cycle_timers: changed code to use shift-in-place with memcpy().

avr_cycle_timer_insert(): double operation to perform insert has been
changed to use a single step by reverse traversing the list and
moving the elments as needed. doing so allows for switch from using
memmove() to memcpy() as the individual elements do not overlap
using this method thus there is no reason to perform a double indirect
copy to move as memmove does.

modified: sim/sim_cycle_timers.c