Skip to content

Commit

Permalink
Update maxLookup
Browse files Browse the repository at this point in the history
  • Loading branch information
anoopr authored Feb 13, 2017
1 parent c4a90ad commit b0a2137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var Strict = false
var EnableInterpolation = false

// maxLookup is the max lookup index for predefined lookup tables
const maxLookup = 100
const maxLookup = 200 // EAVE changed from 100 because of https://github.com/mgutz/dat/issues/54

// atoiTab holds "0" => 0, "1" .. 1 ... "99" -> 99 to avoid using strconv.Atoi()
var atoiTab = make(map[string]int, maxLookup)
Expand Down

0 comments on commit b0a2137

Please sign in to comment.