kleinweby / SaneNetScanner

A Mac OS X Scanner Driver for sane net devices
18 stars 4 forks source link

Use adaptive Buffer algorithm #6

Open kleinweby opened 12 years ago

kleinweby commented 12 years ago

The aim is to make the User Interface as responsive as possible.

Therfore when we know the progress will be shown we should use a algorithm which updates often without inflecting on the performance when using to many updates.

An idea would be:

Always align the buffer to line boundaries.