diff options
author | Dieter Verfaillie <dieterv@optionexplicit.be> | 2013-09-11 12:55:25 +0200 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2013-10-09 12:48:45 -0400 |
commit | f345916405d94829696985479eff3a5836e9b1f6 (patch) | |
tree | 095d81567506b683b7fcec8855db282f664260b4 /m4 | |
parent | d0c2f49a87a9b8db6aaed367544fabd612b0dc0b (diff) | |
download | gobject-introspection-f345916405d94829696985479eff3a5836e9b1f6.tar.gz |
giscanner: remove Python xml attribute formatter
There's no sense in keeping it around as it is never
used. And even though measuring the time it takes to
build Gtk-3.0.gir using a) the C version and b) the
Python version reveals there is no measurable difference
to speak of (when *not* running under Python's cProfile
module):
With C collect_attributes:
==========================
real 0m30.614s
real 0m32.255s
real 0m31.034s
With Python collect_attributes:
===============================
real 0m31.530s
real 0m31.549s
real 0m31.673s
The C version ends up using g_markup_escape_text() which
will escape \004 as . Even though this is invalid
xml 1.0 (but valid xml 1.1), the Python version leaves
the \004 as is, which is even less desirable...
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions