On sábado, 12 de outubro de 2013 12:28:01, Michael Videlgauz wrote:
> So it seems to me that QRegularExpressionMatch creates a copies of each
> line and does not release it. What am I missing here? Thanks!

Why do you think it doesn't release it? Your QRegularExpressionMatch object 
goes out of scope at the end of the block and, unlike QRegExp, executing a 
match in QRegularExpression does not modify it (except for compiling / 
optimising the the pattern).

An increase in addressable virtual memory is expected; an increase in total 
memory allocation is acceptable, but not a leak of memory.

So I have to ask: how did you measure?
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to