Comparing version
@@ -91,3 +91,3 @@ import { StringSink } from "as-string-sink/assembly"; | ||
let val: T = 0; | ||
for (let pos = 0; pos < str.length; pos += 2) { | ||
for (let pos = 0; pos < (str.length << 1); pos += 2) { | ||
// @ts-ignore | ||
@@ -94,0 +94,0 @@ val = (val << 1) + (val << 3) + (load<u16>(changetype<usize>(str) + <usize>pos) - 48); |
{ | ||
"name": "json-as", | ||
"version": "0.5.34", | ||
"version": "0.5.35", | ||
"description": "JSON encoder/decoder for AssemblyScript", | ||
@@ -5,0 +5,0 @@ "types": "assembly/index.ts", |
{ | ||
"name": "@json-as/transform", | ||
"version": "0.5.34", | ||
"version": "0.5.35", | ||
"description": "JSON encoder/decoder for AssemblyScript", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
78144
0.01%