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

Issue 5855044: code review 5855044: sort: document two undocumented functions (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years ago by bradfitz
Modified:
13 years ago
Reviewers:
Stefan Nilsson
CC:
golang-dev, gri
Visibility:
Public.

Description

sort: document two undocumented functions They looked out of place in godoc. Includes documenting sort stability. Fixes issue 3356

Patch Set 1 #

Patch Set 2 : diff -r 05fd7717dfc0 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 05fd7717dfc0 https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 4 : diff -r 05fd7717dfc0 https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r 05fd7717dfc0 https://go.googlecode.com/hg/ #

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

Messages

Total messages: 11
bradfitz
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
13 years ago (2012-03-20 18:09:59 UTC) #1
gri
LGTM Please add to the CL description: Fixes issue 3356. - gri http://codereview.appspot.com/5855044/diff/3002/src/pkg/sort/sort.go File src/pkg/sort/sort.go ...
13 years ago (2012-03-20 18:18:30 UTC) #2
Stefan Nilsson
It would be nice to add that Sort makes at most O(n log n) calls ...
13 years ago (2012-03-20 18:19:54 UTC) #3
bradfitz
On Tue, Mar 20, 2012 at 11:18 AM, <gri@golang.org> wrote: > LGTM > > Please ...
13 years ago (2012-03-20 18:26:53 UTC) #4
gri
We generally don't have performance guarantees in the docs, I think. Also, I am not ...
13 years ago (2012-03-20 18:27:59 UTC) #5
Stefan Nilsson
It is true (after the heapsort CL). In this case I would say it's important ...
13 years ago (2012-03-20 18:32:13 UTC) #6
bradfitz
Documenting all the ways in which we can't be attacked seems incomplete and overly hopeful, ...
13 years ago (2012-03-20 18:40:18 UTC) #7
bradfitz
*** Submitted as http://code.google.com/p/go/source/detail?r=f71a8aea4361 *** sort: document two undocumented functions They looked out of place ...
13 years ago (2012-03-20 18:40:45 UTC) #8
Stefan Nilsson
Documenting DoS attacks certainly would be a very bad idea. I only suggested adding information ...
13 years ago (2012-03-20 19:38:13 UTC) #9
bradfitz
Feel free to pursue it in a subsequent CL. My immediate itch was just fixing ...
13 years ago (2012-03-20 19:40:37 UTC) #10
Stefan Nilsson
13 years ago (2012-03-20 20:02:12 UTC) #11
Sure, I'll do that. It wasn't my intention to hijack this CL,
it just seemed like a natural addition to the doc to me.

On 2012/03/20 19:40:37, bradfitz wrote:
> Feel free to pursue it in a subsequent CL.  My immediate itch was just
> fixing the lack of documentation.
> 
> 
> On Tue, Mar 20, 2012 at 12:38 PM, <mailto:trolleriprofessorn@gmail.com> wrote:
> 
> > Documenting DoS attacks certainly would be a very bad idea. I only
> > suggested
> > adding information about the running time. This clearly is important
> > information to have when you call a library function. The origial CL
> > 4591051
> > that removed the quadratic running time fixed a long standing issue 467.
> > So yes, people are interested in knowing this.
> >
> >
> >
> > On 2012/03/20 18:40:18, bradfitz wrote:
> >
> >> Documenting all the ways in which we can't be attacked seems
> >>
> > incomplete and
> >
> >> overly hopeful, not to mention verbose.
> >>
> >
> >
>
http://codereview.appspot.com/**5855044/%3Chttp://codereview.appspot.com/5855...>
> >
Sign in to reply to this message.

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