diff --git a/CHANGELOG.md b/CHANGELOG.md index ae51a33..4b722d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,14 @@ ###Gin 1.0rc2 (...) - [PERFORMANCE] Fast path for writting Content-Type. +- [PERFORMANCE] Much faster 404 routing +- [PERFORMANCE] Allocation optimizations +- [PERFORMANCE] Faster root tree lookup +- [NEW] Benchmarks suite +- [FIX] Binding multipart form +- [FIX] Crash when binding non struct object in Context. +- [FIX] RunTLS() implementation +- [FIX] Logger() unit tests - [FIX] Better approach to avoid directory listing in StaticFS() - [FIX] Context.ClientIP() always returns the IP with trimmed spaces. - [FIX] Better warning when running in debug mode. diff --git a/gin.go b/gin.go index ade6711..1bba1df 100644 --- a/gin.go +++ b/gin.go @@ -74,7 +74,7 @@ func New() *Engine { RedirectTrailingSlash: true, RedirectFixedPath: false, HandleMethodNotAllowed: false, - trees: make(methodTrees, 0, 6), + trees: make(methodTrees, 0, 5), } engine.RouterGroup.engine = engine engine.pool.New = func() interface{} {