1
0
mirror of https://github.com/golang/go synced 2024-11-25 07:57:56 -07:00

exp/norm: added trie lookup code and associated tests.

- triegen.go: Factored out trie generation code from maketables.go
  (only renamed printTrieTables to printTables and made it a method).
- maketesttables.go: new tool to generate data for the trie unit test.
- Makefile: changed accordingly.
- trie.go: trie lookup code.
- trietest_data.go: generated by maketesttables.go.
- trie_test.go: unit test for trie.go.

R=r
CC=golang-dev
https://golang.org/cl/4844053
This commit is contained in:
Marcel van Lohuizen 2011-08-10 15:36:27 +02:00
parent 00cb627b87
commit 849b54a2f9

File diff suppressed because it is too large Load Diff