pool: use binary search to find proper index

This commit is contained in:
nadoo committed 2020-08-07 12:07:30 +08:00
1 parent 382f9cc519
commit 2fee24995a
3 files changed
+18 -18

No files matched your search

+2 -2
View File
@@ -15,8 +15,8 @@ require (
github.com/xtaci/kcp-go/v5 v5.5.14
golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de
golang.org/x/net v0.0.0-20200707034311-ab3426394381 // indirect
golang.org/x/sys v0.0.0-20200806060901-a37d78b92225 // indirect
golang.org/x/tools v0.0.0-20200806022845-90696ccdc692 // indirect
golang.org/x/sys v0.0.0-20200806125547-5acd03effb82 // indirect
golang.org/x/tools v0.0.0-20200806234136-990129eca547 // indirect
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
)