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
fix for 680789: reprs in arraymodule #37972
Comments
arraymodule's repr used "string += ',' + el" for each Attached patch builds a tuple of array elements and This fixes the time issue, but I don't know enough about |
Logged In: YES As I learn more about the sizeof PyObjects, I don't really like |
Logged In: YES I substantially re-worked and simplifed the patch and have Thanks for addressing the bug report. Otherwise, this |
Logged In: YES Did you look at the second patch I posted? My concern is that the intermediate list temporarily requires Current patch is fine with me if it's fine with you. Just wanted |
Logged In: YES Yes. I worked through your second patch and fixed a The code had enough complexity that it took over an hour My abbreviated approach solved the quadratic time Ordinarily, that isn't an issue were worry about, but I If you think it is critical, we can apply the fixed-up version |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: