-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我觉得超高性能场景就用rust或者c/c++ 吧 #7
Comments
XMM主要场景是想要自主管理内存的场景,在Go中想要自主管理内存不经过GC是没办法的~ 只能字节流等等比较粗糙的方式,针对这种场景所以才开发了XMM。 |
另外,本质来说,XMM是为了解决那些想自己管理内存,提升程序性能,并不被GC影响性能的开发者和应用场景;如果一个CURD场景的,完全没必要使用XMM,内置的map/slice等基本就够用了。 |
"我觉得超高性能场景就用rust或者c/c++ 吧" |
我觉得此库还挺有用的,1程序内缓存 像bigcache 要系列化反序列化,如果用此库就可以存储为go类型就可避免来回序列化,2.CGO场景 ,传给c的指针要避免被gc掉,用此库更好的与c结合 |
@bronze1man @jinsuojinsuo 是的,两位大佬理解是对的~ |
No description provided.
The text was updated successfully, but these errors were encountered: