Skip to content

Conversation

@iProgramMC
Copy link
Contributor

I have written a JSON parser for use in Discord Messenger and Purplecord (upcoming), and this PR aims to integrate it into DM. I might not actually merge this, but DM is a much better place to test this JSON parser since I have ASan.

This JSON parser is considerably faster than nlohmann::json especially on an old iPhone 3G, from my measurements. While nlohmann::json takes 20 seconds to parse a ~600KB READY payload, my implementation takes only 7 seconds.

@iProgramMC iProgramMC marked this pull request as draft September 10, 2025 09:58
@iProgramMC iProgramMC added the !! - Significant change! This change is significant and could be problematic if merged - do lots of testing before merging! label Sep 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

!! - Significant change! This change is significant and could be problematic if merged - do lots of testing before merging!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants