On Fri, 2010-01-08 at 17:05 +0200, Aurimas Juška wrote:
> Why not to convert XML's to C code when compiling distribution ? XML's
> are large and not very fast to parse.
Large - that's subjective. XML is not a compact format, though.
Not very fast - 50 MBytes per second isn't unreasonable with libxml.
ls -lh with-sources.xml
$ -rw-r--r-- 1 lee lee 42M 2009-12-22 22:30 with-sources.xml
$ time xmllint --noout with-sources.xml
0.57user 0.10system 0:00.68elapsed 97%CPU (0avgtext+0avgdata
0inputs+0outputs (0major+36332minor)pagefaults 0swaps
So not actually all that significant.
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org www.advogato.org
Gimp-developer mailing list