Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 1999-07

Component storage

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michal Bukovjan
Michael Van Canneyt wrote
> Does anyone have a clue on how much > slower would be XML loading of properties at application startup, when

there

Show quoted text 10 lines
> is, say 1000 of properties ? (I don't :-() It will be pretty slow; you are building a DOM structure based on a XML document; then this DOM must be converted to the real document class; This is a lengthy process. The XML is good in Design mode; when compiling the binary, it should be converted to something that works faster. Michael.

Binary, I think.

Which reminds me, whoever designs the streaming mechanism, should definitely bear this in mind.
There might be a property of TReader/TWriter that would decide into which format the properties should be written.

Michal Bukovjan

____________________________________________________________________ Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.com.

Reply by email