This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/gi/pygenum.c b/gi/pygenum.c | |
| index 66c872e4..ea472f79 100644 | |
| --- a/gi/pygenum.c | |
| +++ b/gi/pygenum.c | |
| @@ -81,7 +81,7 @@ pyg_enum_from_gtype (GType gtype, int value) | |
| static void | |
| add_value (PyObject *dict, const char *value_nick, int value) | |
| { | |
| - g_autofree char *upper = g_ascii_strup(value_nick, -1); | |
| + char *upper = g_ascii_strup(value_nick, -1); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Benchmark improvement in BleachBit `CleanerML.py` | |
| This script isolates the XML parsing from other operations, except | |
| disk I/O, but the OS should cache it. | |
| How to run: | |
| - copy this script into the root directory of the bleachbit repo | |
| - put the old parser in bleachbit/CleanerML.py | |
| - put the new parser in bleachbit/CleanerML_new.py |
OlderNewer