-
Patrick Storz authored
This tremendously speeds up saving long strings which previously had to do "n!" lookups (where n is the number of chars) as Glib::ustring::operator[] has to iterate over all preceding unichars in each iteration to find the requested unichar. A file with a CDATA section of ~1 MB saves in a few milliseconds now, previously it didn't finish even after some minutes. Fixed bugs: - https://bugs.launchpad.net/inkscape/+bug/1793877 (cherry picked from commit 07078f49)
ad484e4c