Skip to content

json: move json.hpp to src and add public json_fwd.hpp#22

Merged
Madour merged 1 commit into
masterfrom
perf/json_fwd
May 21, 2022
Merged

json: move json.hpp to src and add public json_fwd.hpp#22
Madour merged 1 commit into
masterfrom
perf/json_fwd

Conversation

@Madour
Copy link
Copy Markdown
Owner

@Madour Madour commented May 19, 2022

Fix compile time issue by forward declaring json structs in json_fwd.hpp and moving the json.hpp to src.

Users will now only include the json interface in their projects and not the full implementation.

This reduces compile time for 1 compilation unit by approximately 60% :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant