Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixlengths: add --remove-empty option; refactored for performance #2411

Merged
merged 2 commits into from
Jan 5, 2025

Conversation

jqnatividad
Copy link
Collaborator

resolves #2387

…erformance

- use extend with iterator instead of for loop
- cache current record length
- skip unnecessary bounds check
- replaced if comparison chain with match
- added extensive implementation comments
@jqnatividad jqnatividad merged commit ff3259c into master Jan 5, 2025
13 checks passed
@jqnatividad jqnatividad deleted the 2387-fixlengths-remove-empty-columns branch January 5, 2025 18:08
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.

remove empty columns
1 participant