-
- Downloads
Refactor the db interface to use shallow maps
This allows us to allocate less, and to export a native type to the scoring script instead of having to allocate a map[string]interface{} for the counters.
Showing
- db/db.go 2 additions, 2 deletionsdb/db.go
- db/db_test.go 9 additions, 4 deletionsdb/db_test.go
- db/leveldb/leveldb.go 28 additions, 22 deletionsdb/leveldb/leveldb.go
- db/sqlite/driver.go 5 additions, 5 deletionsdb/sqlite/driver.go
- script/script.go 2 additions, 14 deletionsscript/script.go
- script/script_test.go 4 additions, 6 deletionsscript/script_test.go
- script/types.go 107 additions, 0 deletionsscript/types.go
- server/server.go 2 additions, 2 deletionsserver/server.go
Loading
Please register or sign in to comment