Keyslam / Inky

A GUI Framework for LÖVE
MIT License
48 stars 4 forks source link

Performance improvement: Check pointers only on change #4

Closed Keyslam closed 1 year ago

Keyslam commented 1 year ago

Currently, every pointer is checked against every element every frame. This can be improved. There is a mechanism in place that will check a pointer only against elements if the pointer changed, but this falls short when the element changes.

Keyslam commented 1 year ago

Resolved by https://github.com/Keyslam/Inky/commit/c09e7191008cb7542f3540c995176cff09f48ec3