This commit is contained in:
dcode
2019-03-21 17:34:51 +01:00
parent d4d5814fc2
commit d9463c5484
11 changed files with 4254 additions and 3544 deletions

View File

@ -1,7 +1,10 @@
import "allocator/arena";
import "collector/dummy";
import { Array } from "array";
import { COMPARATOR } from "util/sort";
@start export function main(): void {}
// Obtains the internal capacity of an array from its backing buffer.
function internalCapacity<T>(array: Array<T>): i32 {
// the memory region used by the backing buffer might still be larger in that the ArrayBuffer