summaryrefslogtreecommitdiffstats
path: root/lib/ntdb/test/python-api.py
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-12-04 15:14:03 +0000
committerMichael Adam <obnox@samba.org>2013-12-05 01:10:25 +0100
commit89013af15aa45311510318b517de8986580f4e2f (patch)
tree384576f686053be5ad133e57fb05bb63e2466908 /lib/ntdb/test/python-api.py
parent051fb9155642a8c74f892df3547203a55826d2b9 (diff)
downloadsamba-89013af15aa45311510318b517de8986580f4e2f.tar.gz
samba-89013af15aa45311510318b517de8986580f4e2f.tar.xz
samba-89013af15aa45311510318b517de8986580f4e2f.zip
idmap_cache: Use an fstring instead of talloc_asprintf
In a test doing one million uid2sid calls this brings down user CPU from 1.3 seconds to 0.9 seconds. And it saves a few code lines. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'lib/ntdb/test/python-api.py')
0 files changed, 0 insertions, 0 deletions