[Kst] Lazy loading vectors

George Staikos staikos at kde.org
Wed Jul 2 19:08:07 CEST 2003


  I have a new idea to solve the loading order problem.  What do you think of 
the idea of lazy-loading input vectors?  That is, we don't get pointers to 
the input vectors until all the data objects are created.  Inside the 
xml-load constructor we could store the vector names only, and then after the 
loading is complete, we can call a method in all the data objects telling 
them to update their input vector pointers.  I think this solution should 
work quite nicely.

-- 
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/



More information about the Kst mailing list