From 4f8bc0531ea8326fa565dce4b1536500b221fb6a Mon Sep 17 00:00:00 2001 From: tidwall Date: Thu, 4 Feb 2021 09:50:13 -0700 Subject: [PATCH] Updated rtree library --- go.mod | 2 +- go.sum | 6 ++---- vendor/github.com/tidwall/rbang/rbang.go | 2 +- vendor/modules.txt | 2 +- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/go.mod b/go.mod index cb517a23..58c07631 100644 --- a/go.mod +++ b/go.mod @@ -21,7 +21,7 @@ require ( github.com/tidwall/gjson v1.6.8 github.com/tidwall/match v1.0.3 github.com/tidwall/pretty v1.0.2 - github.com/tidwall/rbang v1.2.3 + github.com/tidwall/rbang v1.2.4 github.com/tidwall/redbench v0.1.0 github.com/tidwall/redcon v1.4.0 github.com/tidwall/resp v0.1.0 diff --git a/go.sum b/go.sum index f6305c9a..f42efd49 100644 --- a/go.sum +++ b/go.sum @@ -139,10 +139,8 @@ github.com/tidwall/match v1.0.3 h1:FQUVvBImDutD8wJLN6c5eMzWtjgONK9MwIBCOrUJKeE= github.com/tidwall/match v1.0.3/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM= github.com/tidwall/pretty v1.0.2 h1:Z7S3cePv9Jwm1KwS0513MRaoUe3S01WPbLNV40pwWZU= github.com/tidwall/pretty v1.0.2/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk= -github.com/tidwall/rbang v1.2.2 h1:j5JZDSsybpGzCabqFpabaQNU5MCmIrlThXVUF7LD99I= -github.com/tidwall/rbang v1.2.2/go.mod h1:aMGOM1Wj50tooEO/0aO9j+7gyHUs3bUW0t4Q+xiuOjg= -github.com/tidwall/rbang v1.2.3 h1:Eg48GtzQEqqwU6kxAna0H0G/m41bm/MQl/EIqU7jfK8= -github.com/tidwall/rbang v1.2.3/go.mod h1:aMGOM1Wj50tooEO/0aO9j+7gyHUs3bUW0t4Q+xiuOjg= +github.com/tidwall/rbang v1.2.4 h1:A0kWtX9lKr9YzWkKzmVYZFqLyo0L6tlkpO+kswDWp7E= +github.com/tidwall/rbang v1.2.4/go.mod h1:aMGOM1Wj50tooEO/0aO9j+7gyHUs3bUW0t4Q+xiuOjg= github.com/tidwall/redbench v0.1.0 h1:UZYUMhwMMObQRq5xU4SA3lmlJRztXzqtushDii+AmPo= github.com/tidwall/redbench v0.1.0/go.mod h1:zxcRGCq/JcqV48YjK9WxBNJL7JSpMzbLXaHvMcnanKQ= github.com/tidwall/redcon v1.4.0 h1:y2PmDD55STRdy4S98qP/Dn+gZG+cPVvIDi9BJV2aOwA= diff --git a/vendor/github.com/tidwall/rbang/rbang.go b/vendor/github.com/tidwall/rbang/rbang.go index d9e7ab09..a3c34e7d 100644 --- a/vendor/github.com/tidwall/rbang/rbang.go +++ b/vendor/github.com/tidwall/rbang/rbang.go @@ -6,7 +6,7 @@ import ( const ( maxEntries = 32 - minEntries = maxEntries * 40 / 100 + minEntries = maxEntries * 20 / 100 ) type rect struct { diff --git a/vendor/modules.txt b/vendor/modules.txt index 6385c329..ad3aa48b 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -146,7 +146,7 @@ github.com/tidwall/match # github.com/tidwall/pretty v1.0.2 ## explicit github.com/tidwall/pretty -# github.com/tidwall/rbang v1.2.3 +# github.com/tidwall/rbang v1.2.4 ## explicit github.com/tidwall/rbang # github.com/tidwall/redbench v0.1.0