mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-14 07:21:54 +08:00
优化代码
This commit is contained in:
@@ -9,11 +9,13 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
)
|
)
|
||||||
|
|
||||||
const HashMapSharding = 11
|
const HashMapSharding = 31
|
||||||
|
|
||||||
var bigIntPool = sync.Pool{New: func() any {
|
var bigIntPool = sync.Pool{
|
||||||
|
New: func() any {
|
||||||
return big.NewInt(0)
|
return big.NewInt(0)
|
||||||
}}
|
},
|
||||||
|
}
|
||||||
|
|
||||||
// FileListHashMap 文件Hash列表
|
// FileListHashMap 文件Hash列表
|
||||||
type FileListHashMap struct {
|
type FileListHashMap struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user