unexpand: Refactor functions to use less parameters#10900
unexpand: Refactor functions to use less parameters#10900cerdelen wants to merge 1 commit intouutils:mainfrom
Conversation
Merging this PR will degrade performance by 6.7%
Performance Changes
Comparing Footnotes
|
|
GNU testsuite comparison: |
|
Is this performance regression caused by |
|
@oech3 Im not sure where the performance regression for this bot comes from. If i build unexpand in release mode on my local machine and test it with a 200k lines long file with natural text (its all of shakespeare works) for me it actually has an average improvement. (edit: replacing screenshot with text) |
|
@cerdelen please replace your screenshot by text. screenshots are terrible for accessibility and search. thanks |
Follow up to #10831 (comment) i bundled parameters that belong to each other into a helper struct to reduce function parameters and get rid of the linter exception.