68a20d6941
Instead of manipulating a QByteArray, do it with a QLatin1String, which is free. Also, don't prepend a dot to force matches at label boundaries, check that there's a dot where the match occurred. Saves two allocations per iteration. Finally, pull the query's peerHostName() initialization out of the loop - it doesn't depend on the loop variable. Change-Id: I6dfdae711f0bd8941af69bfbcfda7873a40e4b80 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io> |
||
---|---|---|
.. | ||
access | ||
doc | ||
kernel | ||
socket | ||
ssl | ||
.prev_CMakeLists.txt | ||
CMakeLists.txt | ||
configure.cmake | ||
configure.json | ||
configure.pri | ||
network.pro |