-
-
Notifications
You must be signed in to change notification settings - Fork 164
Fix #51 wrong stream_buffer_byte_size calculation #52
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 #51 wrong stream_buffer_byte_size calculation #52
Conversation
…et-api into stream_buffer_size
This reverts commit d8a9134. Revert "fix #49 (comment)" This reverts commit e5cb4aa. Revert "curses example" This reverts commit aae6bf5.
I just messed up with branches, sorry for the lot of commits |
Absolutely no problem, I also commit very often to save my steps. No worries! Thanks for your support! |
Test with 1GB:Conslusion:
Code:
|
I suggest to place And then switch this to the new method you created. Please add docstrings. Nice work! |
It can NOT be static becouse of the recursive call! |
Good analysis and good idea to solve it! |
You asked somewhere "And what about this? Why lock needed?" - I got it via email but I can not find it on github. The reason is, Till Even if you use two threads and both do |
Maybe on telegram, or I removed the comment. |
it doesnt modify it, but i will say something "during itteration the object changed". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! Thanks!
I solved the calculation, it's working, but now the script needs another dependency (pympler).
Test code: