Move constants into the right file.

Document them while we're moving them.
This commit is contained in:
David Chisnall
2019-04-11 16:57:12 +01:00
parent cd8ba18191
commit 785766b129
2 changed files with 15 additions and 6 deletions

View File

@@ -4,12 +4,6 @@
namespace snmalloc
{
enum ZeroMem
{
NoZero,
YesZero
};
// 0 intermediate bits results in power of 2 small allocs. 1 intermediate
// bit gives additional sizeclasses at the midpoint between each power of 2.
// 2 intermediate bits gives 3 intermediate sizeclasses, etc.