Hacker News new | past | comments | ask | show | jobs | submit login

Maybe the worker could parse the JSON to build an index and then send over just the index. The main thread could then use the index to access small substrings of the original giant JSON string, parse those and cache the result?

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact