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

Use inplace reverse method. More efficient #1537

Merged

Conversation

Skylion007
Copy link
Contributor

Uses inplace reverse methods on lists. It's more efficient than [::-1] and list(reversed(a)) which creates a temporary copy.

@martindurant martindurant merged commit 2fc795f into fsspec:master Mar 6, 2024
10 checks passed
@Skylion007 Skylion007 deleted the skylion007/apply-FURB187-2024-03-06 branch March 6, 2024 20:01
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.

2 participants