Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(19060)

Issue 5371050: grob.cc: rewrite O(n^2) algorithm in Grob::common_refpoint algorithm to O(n) (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 5 months ago by dak
Modified:
12 years, 5 months ago
Reviewers:
md5i, pkx166h, joeneeman, carl.d.sorensen
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

grob.cc: rewrite O(n^2) algorithm in Grob::common_refpoint algorithm to O(n)

Patch Set 1 #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -8 lines) Patch
M lily/grob.cc View 1 chunk +31 lines, -8 lines 8 comments Download

Messages

Total messages: 7
joeneeman
http://codereview.appspot.com/5371050/diff/1/lily/grob.cc File lily/grob.cc (right): http://codereview.appspot.com/5371050/diff/1/lily/grob.cc#newcode536 lily/grob.cc:536: c = c->dim_cache_[a].parent_; After this loop, balance will be ...
12 years, 5 months ago (2011-11-10 16:41:54 UTC) #1
md5i
http://codereview.appspot.com/5371050/diff/1/lily/grob.cc File lily/grob.cc (right): http://codereview.appspot.com/5371050/diff/1/lily/grob.cc#newcode536 lily/grob.cc:536: c = c->dim_cache_[a].parent_; On 2011/11/10 16:41:54, joeneeman wrote: > ...
12 years, 5 months ago (2011-11-10 17:11:17 UTC) #2
dak
http://codereview.appspot.com/5371050/diff/1/lily/grob.cc File lily/grob.cc (right): http://codereview.appspot.com/5371050/diff/1/lily/grob.cc#newcode536 lily/grob.cc:536: c = c->dim_cache_[a].parent_; On 2011/11/10 16:41:54, joeneeman wrote: > ...
12 years, 5 months ago (2011-11-10 17:26:34 UTC) #3
joeneeman
Ok, lgtm
12 years, 5 months ago (2011-11-10 19:10:35 UTC) #4
pkx166h
Passes make and no reg test diffs James
12 years, 5 months ago (2011-11-10 20:30:14 UTC) #5
Carl
LGTM. Thanks, Carl http://codereview.appspot.com/5371050/diff/1/lily/grob.cc File lily/grob.cc (right): http://codereview.appspot.com/5371050/diff/1/lily/grob.cc#newcode542 lily/grob.cc:542: while (c != d) { On ...
12 years, 5 months ago (2011-11-12 17:06:15 UTC) #6
dak
12 years, 5 months ago (2011-11-12 17:11:47 UTC) #7
On 2011/11/12 17:06:15, Carl wrote:
> LGTM.
> 
> Thanks,
> 
> Carl
> 
> http://codereview.appspot.com/5371050/diff/1/lily/grob.cc
> File lily/grob.cc (right):
> 
> http://codereview.appspot.com/5371050/diff/1/lily/grob.cc#newcode542
> lily/grob.cc:542: while (c != d) {
> On 2011/11/10 16:41:54, joeneeman wrote:
> > { on new line
> 
> This should be fixed by running fixcc.py, right?

Oh.  I actually already fixed that in my version.  Just did not realize that I
had not uploaded it for review again.

And now I don't want to disturb the countdown...
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b