Skip to content
Myr

slab.go

This file

Path

src/util/slab.go

12 lines · 185 bytes · Go

Last changed by

Not known.

History of this file

Take it

The walk stopped after 200 commits: lines older than 76efddd point at it.

bash: shift-delete to delete history entries during CTRL-RJunegunn Choibefore adoption76efddd

lines 1–12why, one step back
1package util
23type Slab struct {4 I16 []int165 I32 []int326}78func MakeSlab(size16 int, size32 int) *Slab {9 return &Slab{10 I16: make([]int16, size16),11 I32: make([]int32, size32)}12}