mirror of
https://github.com/ehang-io/nps.git
synced 2025-09-06 07:06:53 +00:00
Change BuffSizeCopy pool
This commit is contained in:
@@ -63,7 +63,7 @@ func (entry *sliceEntry) Clear() bool {
|
||||
return false
|
||||
}
|
||||
for i := 0; i < entry.Size(); i++ {
|
||||
pool.PutBufPoolCopy(entry.element[i].val)
|
||||
pool.CopyBuff.Put(entry.element[i].val)
|
||||
entry.element[i] = nil
|
||||
}
|
||||
entry.element = nil
|
||||
|
Reference in New Issue
Block a user