Skip to content

Commit

Permalink
Add global data pool
Browse files Browse the repository at this point in the history
  • Loading branch information
viciious committed Nov 2, 2023
1 parent 57acc88 commit 36d15b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pack_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ func (pool *packDataPool) Put(data *packData) *packData {
o := make([]byte, 0)
o, err = msgp.AppendIntf(o, data)
if err != nil {
fmt.Println(err)
return data
}

Expand Down

0 comments on commit 36d15b6

Please sign in to comment.