spillerrec / imgviewer

Customizable image viewer with minimalistic interface
2 stars 1 forks source link

Intelligent caching #4

Open spillerrec opened 10 years ago

spillerrec commented 10 years ago

Instead of simply loading x images both forward and backward, move the buffer window depending on which direction you are going. This could reduce the size of the buffer, while still in most cases give acceptable results.

At the very startup, keep the buffer size small, until the user starts moving. In many cases the user only wants to see one image, loading 2*X images is a waste of processing power.