Alexe Stefan <stefanalex...@gmail.com> writes:

> Does enabling USE=valgrind impact runtime performance in any way?

A very small amount because it adds a check at runtime for whether
the application is running under Valgrind. The compiler may be able
to optimise this a bit if it can determine it's unlikely (if the
Valgrind headers don't already do this, they should probably mark
them as cold functions).

The aim of this change is to be able to have USE=valgrind in make.conf
if you're an active user of it and have things work better, so it
should be fine to do.

Attachment: signature.asc
Description: PGP signature

Reply via email to