Code Monkey home page Code Monkey logo

Comments (10)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 31, 2024
[deleted comment]

from watchntouch.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 31, 2024
[deleted comment]

from watchntouch.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 31, 2024
[deleted comment]

from watchntouch.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 31, 2024
First version is on r57. an array size of 3 keeps left and right of the current 
page. It is loaded in a seperate thread (related source file is 
renderedimagecash.cpp). If user stands at least 1 second on the page, it is 
loaded fast as only 3 item is kept - that is why only 3 item. cash is renewed 
after each change on the currentSlide number.

Error :

If any page is annotated and actionNext() is performed, it immediately exits 
from the program. However, this error appears in r56, also. So i think it is 
not related the cashing algorithm.

Improvement - or the other way:

keep 5 items in memeory - +- 3. if required slide in the cash, just bring them. 
If it is not just bring it in a usual ways, renew the cash.

This will be handled in r58.

Original comment by [email protected] on 16 Mar 2011 at 6:33

from watchntouch.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 31, 2024
[deleted comment]

from watchntouch.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 31, 2024
Note that: 

the resolution on the function renderToImage(,) is taken as 120. It may be 
changed accordingly.

Original comment by [email protected] on 16 Mar 2011 at 8:12

from watchntouch.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 31, 2024
r58. The change in the previous comment has been applied. Now, only after four 
page the cash is renewed. There is an array of size 7. Example:

At the beginning,

-2. -1. 0. 1. 2. 3. 4. slides are in the array, only slide numbers that are 
bigger than 0 are loaded. When user attempt to go to 5. page, cash is renewed 
and:

2. 3. 4. 5. 6. 7. 8. slides are loaded to the cash. This goes like that.

Error:

The error in the previous comment seems still to exist. :(

Discussion:

For machines with small ram size, it may be required to save images as files 
and load them when it is required, instead to keep some of them in the memory. 
Pros and Cons will be discussed.

Moreover, saving all rendered images as files and still keeping some of them in 
the memory by loading them from file may be faster the system. This will be 
tried in r60.

Original comment by [email protected] on 16 Mar 2011 at 10:38

from watchntouch.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 31, 2024
note that r59 is the fixed form of r58. There was a minor bug. Different 
presenatations cannot be opened in r58(in r57, also) it is fixed in r59. 

Original comment by [email protected] on 16 Mar 2011 at 10:40

from watchntouch.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 31, 2024
r60 is ready. One more point to discuss may be make the system in r57 just as 
in r60. That is, render all images and save them in a directory. When it is 
required to load them to the ram, load them from files directly, not render 
them. 

File Loading -- Rendering Time, trade off.

As any renewal causes a conflict in r57, it will be integrated after the 
decision of the method that will be used. Code is almost ready, just 
integration will be done.

Original comment by [email protected] on 17 Mar 2011 at 8:39

from watchntouch.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 31, 2024

Original comment by [email protected] on 23 Mar 2011 at 3:48

  • Changed state: Fixed

from watchntouch.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.