New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Algorithm improvement for encoding and decoding JS object (JS knowledge is required) #10

Closed
amitguptagwl opened this Issue May 27, 2018 · 1 comment

Comments

Projects
None yet
1 participant
@amitguptagwl
Member

amitguptagwl commented May 27, 2018

Currently implemented algorithm to encode JS object into nimn data format and decode it back, are slower than JSON stringify and parse methods.

As a part of this issue we've to improve their performance.

@amitguptagwl

This comment has been minimized.

Member

amitguptagwl commented Jun 10, 2018

Nimn js 2 is faster than JSON.stringify if you don't sanitize (back slash characters). But if you do it is 30-40% slower

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment