[issue23344] Faster marshalling

2015-02-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your review Kristján. Together with issue20416 this increases dumping speed almost twice for typical module data and up to 5x for some data. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___

[issue23344] Faster marshalling

2015-02-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset bb05f845e7dc by Serhiy Storchaka in branch 'default': Issue #23344: marshal.dumps() is now 20-25% faster on average. https://hg.python.org/cpython/rev/bb05f845e7dc -- nosy: +python-dev ___ Python tracker

[issue23344] Faster marshalling

2015-02-03 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka dependencies: +Add tests for marshal FILE* API ___ Python tracker ___

[issue23344] Faster marshalling

2015-02-03 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: looks good to me, although it has been pointed out that marshal _write_ speed is less critical than read speed :) -- ___ Python tracker ___

[issue23344] Faster marshalling

2015-01-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +kristjan.jonsson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue23344] Faster marshalling

2015-01-28 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Currently writing marshalled data to buffer is not very efficient. Data is written byte by byte with testing conditions p->fp != NULL and p->ptr != p->end for every byte. Proposed patch makes writing to buffer faster. Benchmark results: $ ./python -m time