Skip to content

Avoid some allocations by QString/QByteArray's toLower()

Friedrich W. H. Kossebau requested to merge work/kossebau/avoidsometolower into master

No benchmarking done, based on heuristic tales that memory allocation is to be avoided where possible.

Not exactly sure how often a conversion actually happens, even more when Qt's algorihtms seem smart enough these days to only do a deep copy when actually needed. But it matches existing pessimistic code which is ready to deal with manually-crafted config with non-standard casing.

@ahmadsamir @alex

Merge request reports