Skip to content

Conversation

@viglia
Copy link
Contributor

@viglia viglia commented Nov 30, 2023

For most of the use cases where line numbers are provided it's not necessary to keep the extra mappings_by_params hashmap.

This make the mappings_by_params initialization optional to improve both the parsing speed and the memory consumpion.

@viglia viglia requested review from Swatinem and removed request for Swatinem November 30, 2023 10:47
@viglia viglia requested a review from Swatinem November 30, 2023 11:05
add a new new_with_param_mapping constructor that allows specifying a
bool
@viglia viglia requested a review from Swatinem November 30, 2023 12:20
@viglia viglia merged commit 2f318a3 into master Nov 30, 2023
@viglia viglia deleted the viglia/enhance/make-mapping-by-params-initialization-optional branch November 30, 2023 12:55
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.

3 participants