Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(243)

Issue 196383026: Slightly faster quadtree searching (Closed)

Created:
6 years, 9 months ago by iancottrell
Modified:
6 years, 9 months ago
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

Slightly faster quadtree searching BUG=skia:2125 Committed: http://code.google.com/p/skia/source/detail?r=13847

Patch Set 1 #

Patch Set 2 : Remove commented out code #

Total comments: 18

Patch Set 3 : Review fixes #

Total comments: 2

Patch Set 4 : Use U8CPU for intersection bitmask #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -88 lines) Patch
M src/core/SkQuadTree.h View 2 chunks +5 lines, -3 lines 0 comments Download
M src/core/SkQuadTree.cpp View 1 2 3 8 chunks +82 lines, -85 lines 0 comments Download
M src/core/SkTObjectPool.h View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
iancottrell
A version that does less maths because it knows you have 4 quadrants due to ...
6 years, 9 months ago (2014-03-17 13:13:59 UTC) #1
robertphillips
drive by nits https://codereview.chromium.org/196383026/diff/60001/src/core/SkQuadTree.cpp File src/core/SkQuadTree.cpp (right): https://codereview.chromium.org/196383026/diff/60001/src/core/SkQuadTree.cpp#newcode20 src/core/SkQuadTree.cpp:20: }; kTopLeft_Bit, etc.? https://codereview.chromium.org/196383026/diff/60001/src/core/SkQuadTree.cpp#newcode33 src/core/SkQuadTree.cpp:33: child_intersect ...
6 years, 9 months ago (2014-03-17 13:26:51 UTC) #2
tomhudson
How much faster? There are a couple of other things going on here, like getting ...
6 years, 9 months ago (2014-03-17 13:27:32 UTC) #3
mtklein
On 2014/03/17 13:27:32, tomhudson wrote: > How much faster? ≈ add a bench?
6 years, 9 months ago (2014-03-17 13:29:55 UTC) #4
iancottrell
https://codereview.chromium.org/196383026/diff/60001/src/core/SkQuadTree.cpp File src/core/SkQuadTree.cpp (right): https://codereview.chromium.org/196383026/diff/60001/src/core/SkQuadTree.cpp#newcode20 src/core/SkQuadTree.cpp:20: }; On 2014/03/17 13:26:52, robertphillips wrote: > kTopLeft_Bit, etc.? ...
6 years, 9 months ago (2014-03-17 13:49:35 UTC) #5
iancottrell
On 2014/03/17 13:29:55, mtklein wrote: > On 2014/03/17 13:27:32, tomhudson wrote: > > How much ...
6 years, 9 months ago (2014-03-17 14:24:06 UTC) #6
mtklein
https://codereview.chromium.org/196383026/diff/80001/src/core/SkQuadTree.cpp File src/core/SkQuadTree.cpp (right): https://codereview.chromium.org/196383026/diff/80001/src/core/SkQuadTree.cpp#newcode34 src/core/SkQuadTree.cpp:34: static int child_intersect(const SkIRect& query, const SkIPoint& split) { ...
6 years, 9 months ago (2014-03-17 15:05:14 UTC) #7
iancottrell
https://codereview.chromium.org/196383026/diff/80001/src/core/SkQuadTree.cpp File src/core/SkQuadTree.cpp (right): https://codereview.chromium.org/196383026/diff/80001/src/core/SkQuadTree.cpp#newcode34 src/core/SkQuadTree.cpp:34: static int child_intersect(const SkIRect& query, const SkIPoint& split) { ...
6 years, 9 months ago (2014-03-17 16:32:38 UTC) #8
mtklein
lgtm
6 years, 9 months ago (2014-03-17 19:41:29 UTC) #9
tomhudson
lgtm
6 years, 9 months ago (2014-03-18 08:52:23 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/iancottrell@google.com/196383026/90001
6 years, 9 months ago (2014-03-18 08:52:35 UTC) #11
commit-bot: I haz the power
6 years, 9 months ago (2014-03-18 09:07:30 UTC) #12
Message was sent while issue was closed.
Change committed as 13847

Powered by Google App Engine
This is Rietveld 408576698