Skip to content
Snippets Groups Projects
Commit 380bb53a authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

utils.ResetTempfileModule: Improve performance


This function is called for after every fork (e.g. for handling an RPC
request). With the changes in this patch generating the next random
filename is about 30% faster.

Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 20875652
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment