{"id":70727,"library":"funny-slab","title":"Slab","description":"A lock-free slab allocator for Go, providing efficient memory allocation and reuse.","status":"active","version":"0.0.0-20180511031532-b1fad5e5d478","language":"go","source_language":null,"source_url":"https://github.com/funny/slab","tags":["memory","allocator","lock-free","pool"],"install":[{"cmd":"go get github.com/funny/slab","lang":"bash","label":"Install github.com/funny/slab"}],"dependencies":[],"imports":[{"symbol":"slab","correct":"github.com/funny/slab"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/funny/slab\"\n)\n\nfunc main() {\n\tpool := slab.NewAtomPool(64, 64*1024, 2, 1024*1024)\n\tbuf := pool.Alloc(64)\n\tfmt.Println(len(buf))\n\tpool.Free(buf)\n}","lang":"go","description":"Allocate and free a buffer using a slab pool."},"warnings":[],"env_vars":null,"search_vec":"'alloc':7,13,17 'effici':11 'free':5,20 'go':9 'lock':4,19 'lock-fre':3,18 'memori':12,16 'pool':21 'provid':10 'reus':15 'slab':1,6","created_at":"2026-06-17T18:18:30.384994+00:00","updated_at":"2026-06-17T18:18:30.384994+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/funny/slab","github":"https://github.com/funny/slab","docs":"https://pkg.go.dev/github.com/funny/slab#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}