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

Issue 3200041: code review 3200041: index/suffixarray: use sort.Search (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 7 months ago by rsc
Modified:
14 years, 7 months ago
Reviewers:
CC:
gri, golang-dev
Visibility:
Public.

Description

index/suffixarray: use sort.Search

Patch Set 1 #

Patch Set 2 : code review 3200041: index/suffixarray: use sort.Search #

Total comments: 1

Patch Set 3 : code review 3200041: index/suffixarray: use sort.Search #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -20 lines) Patch
M src/pkg/index/suffixarray/suffixarray.go View 1 2 2 chunks +2 lines, -20 lines 0 comments Download

Messages

Total messages: 5
rsc
Hello gri (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 7 months ago (2010-11-18 12:49:57 UTC) #1
rsc
It's possible that the allocation here is too costly, but my thinking was that searches ...
14 years, 7 months ago (2010-11-18 12:52:44 UTC) #2
gri
LGTM http://codereview.appspot.com/3200041/diff/2001/src/pkg/index/suffixarray/suffixarray.go File src/pkg/index/suffixarray/suffixarray.go (right): http://codereview.appspot.com/3200041/diff/2001/src/pkg/index/suffixarray/suffixarray.go#newcode74 src/pkg/index/suffixarray/suffixarray.go:74: // x.at(i) <= s < x.at(i+1) this comment ...
14 years, 7 months ago (2010-11-18 17:14:35 UTC) #3
gri
I assume you are referring to closure allocation? I don't think it matters at all; ...
14 years, 7 months ago (2010-11-18 17:15:57 UTC) #4
rsc
14 years, 7 months ago (2010-11-19 21:04:29 UTC) #5
*** Submitted as http://code.google.com/p/go/source/detail?r=21a04f7f394c ***

index/suffixarray: use sort.Search

R=gri
CC=golang-dev
http://codereview.appspot.com/3200041
Sign in to reply to this message.

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