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

Already on GitHub? Sign in to your account

Minor splitting optimization #507

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Contributor

dbrgn commented Nov 7, 2012

This really doesn't impact performance much, but when getting the last element of a split, it's better to use rsplit with a maxsplit limit.

Owner

timgraham commented Jun 1, 2013

merged in 127d9b2, thanks.

@timgraham timgraham closed this Jun 1, 2013

@dbrgn dbrgn deleted the dbrgn:rsplit branch Oct 31, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment