This commit is contained in:
dcode
2019-03-13 03:47:35 +01:00
parent 37d361bafd
commit 707f2dae9a
8 changed files with 82 additions and 164 deletions

View File

@ -15,11 +15,7 @@
// └───────────────────────────────────────────────┴─────────╨─────┘
// FL: first level, SL: second level, AL: alignment, SB: small block
import {
AL_BITS,
AL_SIZE,
AL_MASK
} from "../internal/allocator";
import { AL_BITS, AL_SIZE, AL_MASK } from "../util/allocator";
const SL_BITS: u32 = 5;
const SL_SIZE: usize = 1 << <usize>SL_BITS;