Skip to content

Instantly share code, notes, and snippets.

@holmeshe
Created September 20, 2018 09:08
Show Gist options
  • Save holmeshe/3cc389376f0573ebda34d2a8e8175d5f to your computer and use it in GitHub Desktop.
Save holmeshe/3cc389376f0573ebda34d2a8e8175d5f to your computer and use it in GitHub Desktop.
void slabs_init(const size_t limit, const double factor, const bool prealloc, const uint32_t *slab_sizes) {
...
if (prealloc) {
slabs_preallocate(power_largest);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment