[Lazarus] couchdb api in fpc/lazarus

ik idokan at gmail.com
Mon Jan 11 16:25:57 CET 2010


Thanks Sergei for your answer. 

I Forgot to indicate that I use the last stable version of lazarus (0.9.28.2). 

I will try to modify my code to use FirstChild/NextSibling. 

Regards, 

-- 
Pierre Delore 

http://datalinkwristapps.free.fr 
http://dpsite.free.fr 

----- "Sergei Gorelkin" <sergei_gorelkin at mail.ru> a écrit : 
> Pierre Delore wrote: 
> > ... 
> > I try to search in the wiki and I didn't found thing that help me. 
> > 
> Since you did not specify your compiler version, I guess it's something pre-2.4.0. 
> See this link: 
> http://wiki.freepascal.org/User_Changes_2.4.0#dom_unit:_memory_management_for_node_lists 
> 
> Either upgrade to 2.4.0, or add a matching call of Free for each call of ChildNodes. 
> The best solution, however, is to change the code to use FirstChild/NextSibling properties 
> instead of ChildNodes, because FirstChild/NextSibling are faster and don't create any intermediate 
> objects. 
> 
> Regards, 
> Sergei 
> 
> -- 
> _______________________________________________ 
> Lazarus mailing list 
> Lazarus at lists.lazarus.freepascal.org 
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus 
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20100110/bc9b8138/attachment-0004.html>


More information about the Lazarus mailing list