static array stuff

This commit is contained in:
dcode
2019-03-15 13:13:48 +01:00
parent 968b0321a0
commit 058dc8d4fa
77 changed files with 5634 additions and 4657 deletions

View File

@ -65,7 +65,9 @@ export class Map<K,V> {
get size(): i32 { return this.entriesCount; }
constructor() { this.clear(); }
constructor() {
this.clear();
}
clear(): void {
const bucketsSize = INITIAL_CAPACITY * <i32>BUCKET_SIZE;