4 ms·
I wonder if this is faster than GTA Onlines microtransaction JSON file parser.
by plorntus 6y ago
I wonder if this is faster than GTA Onlines microtransaction JSON file parser.
- Waterluvian 6y agoI think a hypothetical Json parser written in Conway's Game of Life would be faster.
- keanebean86 6y agoRockstar could get a performance boost by bundling powerpoint: https://youtu.be/uNjxe8ShM-8 https://youtu.be/uNjxe8ShM-8
- dnsco 6y agoThis just made my day. Thank you.
- oblio 6y agoOr they could use this: https://github.com/xoreaxeaxeax/movfuscator https://github.com/xoreaxeaxeax/movfuscator See this presentation, too: https://www.youtube.com/watch?v=R7EEoWg6Ekk https://www.youtube.com/watch?v=R7EEoWg6Ekk
- yholio 6y agoDev: 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: ...
- matheusmoreira 6y agoIs it a matter of if? I wonder how many times faster it is...
- JdeBP 6y agoIf 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_memory_commentary.html https://www.laughtonelectronics.com/Arcana/KimKlone/Kimklone...
- vidarh 6y agoBank-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.
- boomlinde 6y agoThat'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.
- sim_card_map 6y agometa
- notretarded 6y agoThank you for your contribution
- kristaps 6y agoTime complexity O(R*)