Daniel-Constantin Mierla writes:
I added pv_evalx() function in pv module which
evaluates twice a string
containing variables. No time to test it, so any feedback is
appreciated. It will be also good to stress test it and check if there
is a memory leak for pkg, as the result for first evaluation needs to be
parsed again for other variables -- pv caching should prevent a leak,
but to be safe is good to test if plans are to use in production.
I executed the call for about 10000 times and didn't see any reduction
in the amount of free pkg memory.
-- Juha