[phobos] Community shout-out?

Rainer Schuetze r.sagitario at gmx.de
Sun Nov 14 09:01:55 PST 2010


I'm not sure whether this is the main performance issue, but last time I 
debugged through std.xml (yes, it's used in Visual D, aswell as 
std.json), I noticed that it suffers badly under bugs

http://d.puremagic.com/issues/show_bug.cgi?id=2356
http://d.puremagic.com/issues/show_bug.cgi?id=4298

because constant arrays with hundreds of elements are created on the 
stack whenever a character lookup is done. Fortunately, the files where 
it is used in Visual D are rather small.

Rainer

SHOO wrote:
> LOL! This is terrible!
> 
> The performance is not so important for me, but this report moves me to 
> tears.
> What is a bottleneck?
> 
> -- 
> SHOO
> 
> (2010/11/14 21:55), Jacob Carlborg wrote:
>> A benchmark has shown that the Tango XML module is a lot faster than 
>> many of the XML libraries out there, specially than the Phobos module. 
>> So I would say that D could do better than other libraries at least 
>> when it comes to speed.
>>
>> http://dotnot.org/blog/archives/2008/03/10/xml-benchmarks-updated-graphs-with-rapidxml/ 
>>



More information about the phobos mailing list