commit | fb502f072f5a32ad122bfc2717fe56a3c22e482e | [log] [tgz] |
---|---|---|
author | qiankun.miao <qiankun.miao@intel.com> | Mon Nov 03 14:34:30 2014 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Mon Nov 03 14:34:31 2014 -0800 |
tree | 2a2e7e6149322ac8aca7eded6c6a23792fe07b73 | |
parent | 87a94eb1632d06eeeb89490a91565e786440d6d0 [diff] |
Optimize SkRect::sort() This optimization can reduce comparison and assignments. For geo_rect_sort benchmark, performance improved to 1.63us from 3.28us. BUG=skia: Review URL: https://codereview.chromium.org/695443005