1. 24 Jul, 2011 3 commits
    • Russ Cox's avatar
      exp/regexp: implement regexp API using exp/regexp/syntax · a1e7cd97
      Russ Cox authored
      Still need to write tests for new syntax
      and fix bugs that the tests find, but this
      is a good check point.
      
      All tests pass.
      
      Compared against existing regexp:
      
      benchmark                                old ns/op    new ns/op    delta
      regexp.BenchmarkLiteral                       1869          620  -66.83%
      regexp.BenchmarkNotLiteral                    9489         7823  -17.56%
      regexp.BenchmarkMatchClass                   10372         8386  -19.15%
      regexp.BenchmarkMatchClass_InRange           10800         7750  -28.24%
      regexp.BenchmarkReplaceAll                   13492         8519  -36.86%
      regexp.BenchmarkAnchoredLiteralShortNonMatch   747          339  -54.62%
      regexp.BenchmarkAnchoredLiteralLongNonMatch    599          335  -44.07%
      regexp.BenchmarkAnchoredShortMatch            2137          917  -57.09%
      regexp.BenchmarkAnchoredLongMatch             2029          917  -54.81%
      
      R=r, r
      CC=golang-dev, sam.thorogood
      https://golang.org/cl/4820046
      a1e7cd97
    • Andrew Gerrand's avatar
      goinstall: write to goinstall.log in respective GOPATH · fc2480da
      Andrew Gerrand authored
      goinstall: report every newly installed package to the dashboard
      
      This makes "goinstall -a" work on systems with GOROOTs that are
      not user-writable, as is the case with Debian's Go packages.
      
      This also makes goinstall.log the canonical list of installed
      packages, in that only packages new to goinstall.log are reported to
      the dashboard.
      
      A side-effect is that writing to goinstall.log is now mandatory.
      (A bug in the original implementation meant this was the case, anyway.)
      
      The principal benefit of this change is that multiple packages from the
      same repository can now be reported to the dashboard.  It is also less
      likely for a user to report multiple installations of the same package
      to the dashboard (they would need to remove the package from
      goinstall.log first).
      
      R=rsc, n13m3y3r
      CC=golang-dev
      https://golang.org/cl/4786041
      fc2480da
    • Andrew Balholm's avatar
      unicode: fix doc comment for Range32 · d56c8132
      Andrew Balholm authored
      R=golang-dev, r
      CC=golang-dev
      https://golang.org/cl/4811050
      d56c8132
  2. 23 Jul, 2011 12 commits
  3. 22 Jul, 2011 10 commits
  4. 21 Jul, 2011 15 commits