remove transition table Array fallback, cleanup tests

This commit is contained in:
Jörg Breitbart
2019-06-02 23:10:59 +02:00
parent e1353c1912
commit 9bd7c49003
2 changed files with 810 additions and 860 deletions
File diff suppressed because it is too large Load Diff
+1 -3
View File
@@ -38,9 +38,7 @@ export class TransitionTable {
public table: Uint8Array | number[];
constructor(length: number) {
this.table = (typeof Uint8Array === 'undefined')
? new Array(length)
: new Uint8Array(length);
this.table = new Uint8Array(length);
}
/**