We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The trim_space function iterates over strings multiple times, making it inefficient for determining if a string contains only spaces.
trim_space
is_only_space
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is there an existing issue for this?
Task description 🔨🔧
Description
The
trim_space
function iterates over strings multiple times, making it inefficient for determining if a string contains only spaces.Recommendation
trim_space
with a specialized function likeis_only_space
that performs single-pass validation for efficiency.Anything else?
No response
The text was updated successfully, but these errors were encountered: