Skip to content

Conversation

@andreasbuhr
Copy link
Contributor

The trace feature doubles the compile time, even if never used. This patch introduces the preprocessor define BOOST_PARSER_DISABLE_TRACE to deactivate this feature at compile time.

@tzlaine
Copy link
Collaborator

tzlaine commented Nov 1, 2025

I'd be much happier merging this if it had a proper place in config.hpp, and had associated documentation. I think this is reasonable, so I'll do it eventually, but it's pretty low priority for me.

@andreasbuhr
Copy link
Contributor Author

Great. I'll improve this Pull Request over time and rebase it on develop from time to time. Expect it to be polished in mid of January.

@andreasbuhr andreasbuhr changed the title Add define BOOST_PARSER_DISABLE_TRACE to disable trace mode at compile time WIP: Add define BOOST_PARSER_DISABLE_TRACE to disable trace mode at compile time Dec 10, 2025
@andreasbuhr andreasbuhr force-pushed the introduce_define_disable_trace branch 2 times, most recently from 798e5dc to 15a5eab Compare December 12, 2025 07:42
@andreasbuhr andreasbuhr marked this pull request as draft December 12, 2025 21:19
@andreasbuhr andreasbuhr force-pushed the introduce_define_disable_trace branch 2 times, most recently from 0439918 to 42624bc Compare January 26, 2026 14:11
…e time.

The trace feature doubles the compile time, even if never used.
This patch introduces the preprocessor define BOOST_PARSER_DISABLE_TRACE
to deactivate this feature at compile time.
@andreasbuhr andreasbuhr force-pushed the introduce_define_disable_trace branch from 42624bc to 6848ed4 Compare January 26, 2026 14:14
@andreasbuhr andreasbuhr marked this pull request as ready for review January 26, 2026 14:14
@andreasbuhr andreasbuhr changed the title WIP: Add define BOOST_PARSER_DISABLE_TRACE to disable trace mode at compile time Add define BOOST_PARSER_DISABLE_TRACE to disable trace mode at compile time Jan 26, 2026
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.

2 participants