You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is basically the same as #120212 but with larger chunks. Given that this approach unifies the find_max_char functions for all
char sizes, from a maintainability standpoint it is better than #120212.
I would add benchmarks for line by line reading. for line in file_descriptor is a very common pattern.
Activity
terryjreedy commentedon Aug 11, 2024
@vstinner Should you or someone else look at this? Should OP say more about idea of patch? Is the above the proper speed test?
picnixz commentedon Aug 13, 2024
I would also look at the arguments in #120212.
Personally, I would include in the benchmarks:
By the way, is your build a release or a PGO (maybe with LTO) build?
vstinner commentedon Aug 27, 2024
@ruema: Would you mind to run more benchmarks? See previous @picnixz comment about that.
rhpvorderman commentedon Sep 10, 2024
This is basically the same as #120212 but with larger chunks. Given that this approach unifies the find_max_char functions for all
char sizes, from a maintainability standpoint it is better than #120212.
I would add benchmarks for line by line reading.
for line in file_descriptoris a very common pattern.vstinner commentedon Sep 18, 2024
Would it be possible to have a few more benchmarks on this change to have an idea if it's worth it or not?