News for hackers. Stuff that matters.
Re:Analyzing multi-gigabyte JSON files locally by killingtime74 on Saturday March 18, 2023 @09:14PM (#35214951)
Python is my favorite language but you literally chose one of the least efficient. This would probably be different in Java or Rust.
Re:Analyzing multi-gigabyte JSON files locally by bufferoverflow on Sunday March 19, 2023 @12:16AM (#35215977)
I thought Java stores strings as 16-bit character arrays internally. Which means it's very inefficient when it comes to memory consumption.
Re:Analyzing multi-gigabyte JSON files locally by samus on Sunday March 19, 2023 @04:46AM (#35217168)
Since version 9, Java uses ISO-8859 when possible. Most raw JSON should therefore take up very little space.