The Documentation

Björnke von Gierke bvg at mac.com
Wed Oct 24 17:20:57 EDT 2007


On 24 Oct 2007, at 22:36, François Chaplais wrote:

> I mean, why this XML stuff? Why not plain Revolution stacks?

I don't know, but it forced them to make the xml external i guess...

On the other hand, a Stack has quite an overhead compared to text files 
(whatever the format (well, maybe not .doc)). Especially as the 
documentation is bound to grow, having it all in memory is quite a 
memory muncher. On the other hand, loading and unloading a stack is 
quite an intensive task in rev, so having each entry as a separate 
stack can't really work well either. I do not like how xml is sold as a 
be all end all solution for storing information, and I'd probably have 
created my own format, but I think using text files for the 
documentation is a good idea.

Now picture my confusion, as I learned that RunRev decided to use 
groups of the xml files as custom properties of stacks, so they do load 
and unload stacks, just not one for every entry, but for a group of 
entries. Most likely that approach difference is why my Stack is so 
much faster then theirs.

I guess there will now be twenty answers screaming "Use databases!" :P

Björnke


-- 

official ChatRev page:
http://chatrev.bjoernke.com

Chat with other RunRev developers:
go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev"



More information about the use-livecode mailing list