travisgoodspeed / maskromtool

A CAD tool for extracting bits from Mask ROM photographs.
Other
331 stars 21 forks source link

Background Threaded Updates #25

Open travisgoodspeed opened 1 year ago

travisgoodspeed commented 1 year ago

For small images, it's very convenient to redraw in the GUI thread. For larger images, this creates a lag that can become infuriating, as pending GUI updates queue behind one another rather than skipping the steps that will soon be deleted.

Moving updates into their own thread could dramatically improve the responsiveness of the GUI, if care is taken not to break the CLI. Maybe a unix-ish sync() function could write all pending updates, only as needed?