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

ISSUE-280b:Trimming was needed. But we want to preserve spaces at least #282

Merged
merged 1 commit into from
Mar 9, 2023

Conversation

DiegoPino
Copy link
Member

What?

So, when you trim you also remove return carriages, tabs, etc. The explode on line break leaves \r which then won't match. This now trims modally only but also removes the already matched values from the list making this also, wait for it, FASTER! Means on each existing facet I only check for the excluded items that DID not match before. Good Diego

@alliomeria will update now. Sorry for the error/missunderstanding of the code 😵‍💫

What?
So, when you trim you also remove return carriages, tabs, etc.
The explode on line break leaves \r which then won't match.
This now trims modally only but also removes the already matched values from the list making this also, wait for it, FASTER!
@DiegoPino DiegoPino self-assigned this Mar 9, 2023
@DiegoPino DiegoPino added bug Something isn't working Facets Safely navigating the too many choices Sub Modules When you need more .info.yml files to keep life organized labels Mar 9, 2023
@DiegoPino DiegoPino modified the milestones: 1.0.0, 1.1.0 Mar 9, 2023
@DiegoPino DiegoPino merged commit 51a827b into 1.1.0 Mar 9, 2023
@DiegoPino DiegoPino deleted the ISSUE-280b branch June 16, 2023 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Facets Safely navigating the too many choices Sub Modules When you need more .info.yml files to keep life organized
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant