Re: [PATCH] Use Glade + GtkBuilder for file-png.c save_dialog()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
580224maxresident)k
0inputs+0outputs (0major+36332minor)pagefaults 0swaps

So not actually all that significant.

Liam

-- 
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
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux