Skip to content

Commit 94f28c6

Browse files
committed
update jsonic wasm with phase 2 optimizations
1 parent 740b36b commit 94f28c6

File tree

6 files changed

+4
-0
lines changed

6 files changed

+4
-0
lines changed

public/jsonic-bench/jsonic_wasm.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export class JsonDB {
3434
/**
3535
* Insert multiple documents directly from JsValue array (zero-copy, faster)
3636
* This is 2-3x faster than insert_many() as it avoids JSON string serialization
37+
* Phase 2 optimizations: reduced string allocations, deferred cache invalidation
3738
*/
3839
insert_many_direct(js_array: any): any;
3940
/**

public/jsonic-bench/jsonic_wasm.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@ export class JsonDB {
349349
/**
350350
* Insert multiple documents directly from JsValue array (zero-copy, faster)
351351
* This is 2-3x faster than insert_many() as it avoids JSON string serialization
352+
* Phase 2 optimizations: reduced string allocations, deferred cache invalidation
352353
* @param {any} js_array
353354
* @returns {any}
354355
*/
366 Bytes
Binary file not shown.

public/jsonic_wasm.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export class JsonDB {
3434
/**
3535
* Insert multiple documents directly from JsValue array (zero-copy, faster)
3636
* This is 2-3x faster than insert_many() as it avoids JSON string serialization
37+
* Phase 2 optimizations: reduced string allocations, deferred cache invalidation
3738
*/
3839
insert_many_direct(js_array: any): any;
3940
/**

public/jsonic_wasm.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@ export class JsonDB {
349349
/**
350350
* Insert multiple documents directly from JsValue array (zero-copy, faster)
351351
* This is 2-3x faster than insert_many() as it avoids JSON string serialization
352+
* Phase 2 optimizations: reduced string allocations, deferred cache invalidation
352353
* @param {any} js_array
353354
* @returns {any}
354355
*/

public/jsonic_wasm_bg.wasm

366 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)