MemoryPool
基于TLS的高并发内存池
Install / Use
/learn @lrsand52m/MemoryPoolREADME
基于TLS的高并发内存池
- 由于TLS的实现,线程申请内存无需加锁,大大提升速度
- CentralCache中央缓存均衡各个线程内存的申请与释放,防止资源饥饿
- PageCache页缓存通过回收重组中央缓存的空闲Span在一定程度上可以解决内存碎片问题
- 经过测试在多线程环境下速度可达malloc的150%
Related Skills
node-connect
345.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
106.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
