9 Star 48 Fork 6

kelvins-io / g2cache

Closed
!2 entry对象初始化优化

kelvins-io:entry-new-fix kelvins-io:release

xhylgogo Created on: 2021-04-27 11:41
enhancement
Reviewer 5458728 cristiane 1607396361   Tester 5458728 cristiane 1607396361

1 NewEntry优先从sync.Pool中获取
2 要销毁的entry对象,提供reset方法用于还原内部元素值,之后放入sync.Pool中

5 comments, 2 participants 1848780 xhylgogo 1618308229 5458728 cristiane 1607396361

Show action logs Hide action logs
xhylgogo closed Pull Request 2021-07-11 13:54
xhylgogo push code 2021-05-03 17:50
xhylgogo assigned tester cristiane 2021-04-27 11:41
xhylgogo assigned reviewer cristiane 2021-04-27 11:41
xhylgogo set priority to Main 2021-04-27 11:41
xhylgogo added label enhancement 2021-04-27 11:41
Go
1
https://gitee.com/kelvins-io/g2cache.git
git@gitee.com:kelvins-io/g2cache.git
kelvins-io
g2cache
g2cache

Search

102255 3a0e046c 1850385 102255 7aaa926c 1850385