diff options
author | John Harrison <John.C.Harrison@Intel.com> | 2018-03-06 12:43:06 +0000 |
---|---|---|
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2018-04-18 15:39:40 +0100 |
commit | ace361a83c09d11257bbee05201131f8c022d89d (patch) | |
tree | 53771442323139564d31dfaa8da3bb8f60617ac1 /scripts/who.sh | |
parent | 546db4b8ff85ea081f1e4f3807250d4d00009d46 (diff) |
scripts/trace.pl: More hash key optimisations
Cache the key count value rather than querying the hash every time.
Also assert that the database does not magically change size after the
fixups.
v2: Rename variable according to style guide [Tvrtko]
v3: Reverted accidental style change and added a blank line. [Tvrtko]
Signed-off-by: John Harrison <John.C.Harrison@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'scripts/who.sh')
0 files changed, 0 insertions, 0 deletions