All’s been quiet on my blog for the past two weeks as I worked to see if I could actually implement the Everything Report “virtually”. What that means is that I don’t actually load the whole Report into TRichView. Instead I am trying to just load the visible area into TRichView.
I didn’t know for sure if this would work, so the last two weeks have been testing the idea. It is tricky. It required a tearing apart of the way I built the report. First, I had to separate out the Treeview parts, since they were mixed in. Then I had to split the code to generate every small section independently.
I’ve now got that done. And the results are what I had hoped. Each small part generates instantaneously. I should be able to plaster a few together and regenerate a screen in less than 1/16th of a second to allow real time simulated scrolling that mimics what would happen if the full document were loaded.
What this means is that Behold will take a miniscule amount of time and memory to display the Everything Report once the data is loaded and the report is internally generated. That reduces the time of loading large files by 60% and memory by 50%.
But by implementing the Everything Report in this “virtual” way, it means that some of the tasks that RichView now does for me, I’ll have to program myself. This is everything that uses the whole document and includes: the scrollbar and paging, the find function, print preview and printing, exporting to html and rtf, and a few functions not needed until version 2.0 such as copying, pasting, undo and redo. So that’s what’s next.
I’ve now updated the future plans page which includes these tasks. Also, we’re going to go to beta as soon as these are done, maybe in March.
Hopefully nothing major will happen to slow me down this time.
Joined: Mon, 12 Jan 2009
36 blog comments, 59 forum posts
Posted: Mon, 26 Jan 2009
The updated Future Plans page should show Version 1.3, planned for February 2009. (Saving GEDCOMs) as Version 1.3, planned for February 2010. (Saving GEDCOMs) !!
Joined: Mon, 12 Jan 2009
36 blog comments, 59 forum posts
Posted: Mon, 26 Jan 2009
The ‘This page is basically my ToDo list and was last updated on’ from the Future Plans page does not record a last updated date!!!
Joined: Tue, 14 Oct 2008
20 blog comments, 0 forum posts
Posted: Tue, 27 Jan 2009
Congratulations, Louis, that’s a very big achievement. I talked with Sergey about making TRichview virtual a long time ago, and he had to pass…
Regards
Uwe
Joined: Sun, 9 Mar 2003
288 blog comments, 245 forum posts
Posted: Tue, 27 Jan 2009
Brett: Thanks for the corrections to my Future Plans page. I’ll fix them tonight when I get home.
SSI is not working on my new host, hence the missing update date. But I’ve since changed the pages to PHP for more functionality than SSI provides and automatically adding the update date is simple.
Joined: Sun, 9 Mar 2003
288 blog comments, 245 forum posts
Posted: Tue, 27 Jan 2009
Uwe: I think I’m one of only a few of Sergey’s customers who use RichView to load very large files. For files even up to a few megabytes in size, RichView works quickly and well. But 100,000 person GEDCOMs displayed with indexes and cross references make for a very large document. Browsers have a tough time with files that size and Word just chokes.
But I do realize that unless I add this virtualization, Behold will always be limited. So it’s not an option for me. It’s a necessity.