json-as 0.5.28 → 0.5.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # AS-JSON
2
2
  ![AssemblyScript](https://img.shields.io/badge/AssemblyScript-blue)
3
3
  ![WebAssembly](https://img.shields.io/badge/WebAssemby-purple)
4
+
5
+ Probably the fastest JSON parser for AssemblyScript with many more optimizations coming down the pipeline.
4
6
  ## Installation
5
7
 
6
8
  ```bash
@@ -75,7 +77,7 @@ const parsed = JSON.parse<Player>(stringified);
75
77
 
76
78
  # Notes
77
79
 
78
- Performance is nearly equal to the JavaScript JSON implementation which is in C++.
80
+ Performance exceeds JavaScript JSON implementation by an average of 230% but this decreases with larger data packets.
79
81
 
80
82
  ## Performance
81
83
 
@@ -87,9 +89,9 @@ Performance is nearly equal to the JavaScript JSON implementation which is in C+
87
89
 
88
90
  **Deserialize Array (int[]):** ~2.8m ops/s
89
91
 
90
- **Serialize String (5):** ~5.2m ops/sw
92
+ **Serialize String (5):** ~4.2m ops/s
91
93
 
92
- **Deserialize String (5):** ~1.36m ops/s
94
+ **Deserialize String (5):** ~12m ops/s
93
95
 
94
96
  ## Issues
95
97
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "json-as",
3
- "version": "0.5.28",
3
+ "version": "0.5.29",
4
4
  "description": "JSON encoder/decoder for AssemblyScript",
5
5
  "types": "assembly/index.ts",
6
6
  "author": "Jairus Tanaka",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@json-as/transform",
3
- "version": "0.5.28",
3
+ "version": "0.5.29",
4
4
  "description": "JSON encoder/decoder for AssemblyScript",
5
5
  "main": "./lib/index.js",
6
6
  "author": "Jairus Tanaka",