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
Look in to using bisect module to replace home grown binary searches. #3298
Comments
These are the binary searches I found:
|
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I implemented a few binary searches in Rich, such as getting the cell length of a character. I wonder if we can replace those binary searches with the
bisect
module. If that is implemented in C, which I imagine it is, then it could be a speed win.Suggest we try it, and if it works profile the improvement (if any).
The text was updated successfully, but these errors were encountered: