commit | f67bcaa61006da8b325a7ed9909a782590971815 | [log] [tgz] |
---|---|---|
author | snappy.mirrorbot@gmail.com <snappy.mirrorbot@gmail.com@03e5f5b5-db94-4691-08a0-1a8bf15f6143> | Wed Mar 30 20:27:39 2011 +0000 |
committer | snappy.mirrorbot@gmail.com <snappy.mirrorbot@gmail.com@03e5f5b5-db94-4691-08a0-1a8bf15f6143> | Wed Mar 30 20:27:39 2011 +0000 |
tree | 2f5485faec1db34607f94eb8b9728c119197c2b1 | |
parent | cc333c1c5cc4eabceceb9848ff3cac6c604ecbc6 [diff] |
Fix public issue #26: Take memory allocation and reallocation entirely out of the Measure() loop. This gives all algorithms a small speed boost, except Snappy which already didn't do reallocation (so the measurements were slightly biased in its favor). R=csilvers DELTA=92 (69 added, 9 deleted, 14 changed) Revision created by MOE tool push_codebase. MOE_MIGRATION=1151 git-svn-id: https://snappy.googlecode.com/svn/trunk@24 03e5f5b5-db94-4691-08a0-1a8bf15f6143