GScanner performance improvements
Submitted by Charlie Brej
Link to original bug (#415323)
Description
GScanner is very slow. Here are two patches to make it a lot faster. The cset_table patch doubles the speed and the gstring_preallocate patch insreases the speed by a further 10%.