1. 24 Dec, 2012 3 commits
    • Marcel van Lohuizen's avatar
      exp/locale/collate: include composed characters into the table. This eliminates · 9aa70984
      Marcel van Lohuizen authored
      the need to decompose characters for the majority of cases.  This considerably
      speeds up collation while increasing the table size minimally.
      
      To detect non-normalized strings, rather than relying on exp/norm, the table
      now includes CCC information. The inclusion of this information does not
      increase table size.
      
      DETAILS
       - Raw collation elements are now a struct that includes the CCC, rather
         than a slice of ints.
       - Builder now ensures that NFD and NFC counterparts are included in the table.
         This also fixes a bug for Korean which is responsible for most of the growth
         of the table size.
       - As there is no more normalization step, code should now handle both strings
         and byte slices as input. Introduced source type to facilitate this.
      
      NOTES
       - This change does not handle normalization correctly entirely for contractions.
         This causes a few failures with the regtest. table_test.go contains a few
         uncommented tests that can be enabled once this is fixed.  The easiest is to
         fix this once we have the new norm.Iter.
       - Removed a test cases in table_test that covers cases that are now guaranteed
         to not exist.
      
      R=rsc, mpvl
      CC=golang-dev
      https://golang.org/cl/6971044
      9aa70984
    • Dmitriy Vyukov's avatar
      runtime/race: make test driver print compilation errors · 43f2fc30
      Dmitriy Vyukov authored
      Currently it silently "succeeds" saying that it run 0 tests
      if there are compilations errors.
      With this change it fails and outputs the compilation error.
      
      R=golang-dev, remyoudompheng
      CC=golang-dev
      https://golang.org/cl/7002058
      43f2fc30
    • Rémy Oudompheng's avatar
      cmd/gc: fix race instrumentation of unaddressable arrays. · ecbf99ad
      Rémy Oudompheng authored
      Fixes #4578.
      
      R=dvyukov, golang-dev
      CC=golang-dev
      https://golang.org/cl/7005050
      ecbf99ad
  2. 23 Dec, 2012 2 commits
  3. 22 Dec, 2012 27 commits
  4. 21 Dec, 2012 8 commits