diff options
author | qiankun.miao <qiankun.miao@intel.com> | 2014-11-03 14:34:30 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-03 14:34:31 -0800 |
commit | fb502f072f5a32ad122bfc2717fe56a3c22e482e (patch) | |
tree | 2a2e7e6149322ac8aca7eded6c6a23792fe07b73 /include/views/SkTextBox.h | |
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
Diffstat (limited to 'include/views/SkTextBox.h')
0 files changed, 0 insertions, 0 deletions