mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-17 08:51:34 +00:00
dummy gc
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user