[issue36748] Optimize textio write buffering

2019-05-16 Thread Michele Angrisano
Change by Michele Angrisano : -- pull_requests: +13274 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue36748] Optimize textio write buffering

2019-05-15 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue36748] Optimize textio write buffering

2019-05-15 Thread Inada Naoki
Inada Naoki added the comment: New changeset bfba8c373e362d48d4ee0e0cf55b8d9c169344ae by Inada Naoki in branch 'master': bpo-36748: optimize TextIOWrapper.write() for ASCII string (GH-13002) https://github.com/python/cpython/commit/bfba8c373e362d48d4ee0e0cf55b8d9c169344ae -- __

[issue36748] Optimize textio write buffering

2019-04-28 Thread Inada Naoki
Change by Inada Naoki : -- keywords: +patch pull_requests: +12923 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-lis

[issue36748] Optimize textio write buffering

2019-04-28 Thread Inada Naoki
New submission from Inada Naoki : textio uses list of textio for internal buffering. There are two inefficiency: * When textio is line buffered and all written strings are line (it's very common), list object is allocated and freed. * We convert texts into bytes, and call b''.join(list_of_byt