#6938: ShowImage read-ahead cache does not move along with navigation
--------------------------------------+----------------------------
Reporter: stippi | Owner: axeld
Type: bug | Status: new
Priority: normal | Milestone: R1
Component: Applications/ShowImage | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
--------------------------------------+----------------------------
Comment (by Janus):
With "this doesn't solve the problem" I meat that anyone can reopen this
ticket with some big images...
How much memory do we assign to ShowImage? Now it is 1/5 of the memory,
but the insertion try to guess the size of the new image (~memory/7,5).
I found another strange behavior.
I don't know if this worth to modify the cache: sometimes the preloaded
images are loaded before the requested one.
how to reproduce this (In a single core machine):
* put in a folder a small image and a very big one.
* open the small one.
* ShowImage took a very long time to open (time to load the big image
+ the small one)
This happen when the loading thread is scheduled after the insertion of
the preloaded images in the queue
--
Ticket URL: <https://dev.haiku-os.org/ticket/6938#comment:14>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.