diff options
| author | Uri Shaked | 2021-06-20 03:35:01 +0300 |
|---|---|---|
| committer | Uri Shaked | 2021-06-20 03:35:01 +0300 |
| commit | 968a6ee0c90498077888c7f09c58983598937570 (patch) | |
| tree | 76c991ccd52bbdce705bc37b76c9791bbc58ade4 /src/cpu/instruction.ts | |
| parent | 0.15.2 (diff) | |
| download | avr8js-968a6ee0c90498077888c7f09c58983598937570.tar.gz avr8js-968a6ee0c90498077888c7f09c58983598937570.tar.bz2 avr8js-968a6ee0c90498077888c7f09c58983598937570.zip | |
perf(cpu): speed up event system
Use a linked list instead of array. This makes the simulator runs almost twice as fast in case of timers with prescaler of 1, e.g. when using the TVout library.
In addition, we use a pool of clock event objects to avoid expensive GCs.
Diffstat (limited to 'src/cpu/instruction.ts')
0 files changed, 0 insertions, 0 deletions
