]> Cypherpunks repositories - gostls13.git/commit
unicode: make the tables smaller.
authorRob Pike <r@golang.org>
Mon, 30 May 2011 23:58:07 +0000 (09:58 +1000)
committerRob Pike <r@golang.org>
Mon, 30 May 2011 23:58:07 +0000 (09:58 +1000)
commit0de328edd63d8e85588309982ce86948548db96b
tree459e92f40567c7c305ca94a63a3638e678b33877
parent2c6a2a9773282a82a476146746b5e3a4da875822
unicode: make the tables smaller.
By splitting the ranges into 16-bit values and 32-bit values,
we can reduce about 3000 entries by 48 bits per entry, or about
16KB, at the cost of a little more complexity in the code.

R=iant, bradfitz, rsc, r
CC=golang-dev
https://golang.org/cl/4547066
src/pkg/unicode/letter.go
src/pkg/unicode/maketables.go
src/pkg/unicode/tables.go
src/pkg/xml/xml.go