qjs_nota slow for an array of small objects #1

Closed
opened 2025-02-24 17:21:53 +00:00 by john · 0 comments
Owner

qjs_nota is far slower for encoding compared to json for something like an array of objects with a handful of properties. For other tested types, like a large array of numbers, an object with many properties with numeric values, and essentially everything else, it's quicker.

I assume it has something to do with iterating all of the objects' properties each time; however, I tried a caching solution and even for an array with many of the same shaped objects, it was not any significant speed increase.

qjs_nota is far slower for encoding compared to json for something like an array of objects with a handful of properties. For other tested types, like a large array of numbers, an object with many properties with numeric values, and essentially everything else, it's quicker. I assume it has something to do with iterating all of the objects' properties each time; however, I tried a caching solution and even for an array with many of the same shaped objects, it was not any significant speed increase.
john added the
enhancement
label 2025-02-24 17:21:53 +00:00
john closed this issue 2025-06-08 06:44:25 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: john/cell#1
No description provided.