DEV Community

loading...

Discussion on: 60fps Javascript while you stringify, parse, process, compress and filter 100Mbs of data

Collapse
caseycole589 profile image
Casey Cole

When your objects are so big you have to lz compress your json before sending it to the client then do segmented uncompresses so you don't crash the browser. Have to do it this way because objects have to be available when user loses connection.

Thread Thread
miketalbot profile image
Mike Talbot Author

Sounds interesting... Seems like you could do with an uncompress that also yields in that case?

Thread Thread
miketalbot profile image
Mike Talbot Author • Edited

@CaseyCole - I've added lz-string compression to the library more details here - not sure it will help in your case, but I'm gonna need it! Thanks for pointing me in this direction...