deltabeard / Peanut-GB

A Game Boy (DMG) emulator single header library written in C99. Performance is prioritised over accuracy.
https://projects.deltabeard.com/peanutgb/
283 stars 40 forks source link

lcd: use insertion sort instead of qsort for sprite priority #52

Open deltabeard opened 2 years ago

deltabeard commented 2 years ago

Insertion sort can be faster for small data.