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

I wonder if this is faster than GTA Onlines microtransaction JSON file parser.



I think a hypothetical Json parser written in Conway's Game of Life would be faster.


Rockstar could get a performance boost by bundling powerpoint: https://youtu.be/uNjxe8ShM-8



Dev: Please see the some powerpoint slides that explain how we can bundle an improved JSON parser that will...

PHB: Bundle PowerPoint?! That's... genius! I can see a bright future for you here.

Dev: ...


This just made my day. Thank you.


Time complexity O(R*)


Is it a matter of if? I wonder how many times faster it is...


If you want to measure it, you first need to work out how to load 10MiB of JSON into the 6502's 64KiB address space.

Or test it rewritten for a KimKlone. (-:

* https://www.laughtonelectronics.com/Arcana/KimKlone/Kimklone...


Bank-switching like the KimKlone does would be possible to support via a cartridge on the C64. Alternatively - though I don't think any of them have been pushed to that size, the CBM REU's did memory transfers fast enough that they actually were faster than using the CPU (because they could use every available bus-cycle for the actual data transfer).

So you would likely need custom/new hardware, but in terms of how, it's a solved problem.


That's all right, this is an event driven parser so at no point does it actually need a full representation of the document in addressable memory to parse it.


meta




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

Search: