DEV Community

Discussion on: I made 10x faster JSON.stringify() functions, even type safe

Collapse
 
wadecodez profile image
Wade Zimmerman

So basically this library is faster than the native stringify because it's defining a schema ahead of time?

If so, I'm curious how this would work with applications with large amount of data. Would it slow down the initial page load?

Collapse
 
samchon profile image
Jeongho Nam

Bundle size of typescript-json is extremely small (as it works only in compilation process) and generated code by typescript-json not such small. Therefore, I think it does not effect on initial page loading unless you've defined typescript-json function calling code over thousands of times.