Message199457
> > Reading the code, I see we now maintain a small internal buffer in
> > the file object, rather than using stack allocation at the call
> > sites. It is unclear to me how this saves memory, since the amount
> > of memory copying should be the same.
>
> No, memory copying is suppressed in many cases.
To clarify: the import logic uses marshal.loads(), not marshal.load().
So the aim is really to speed up unmarshalling from memory. |
|
Date |
User |
Action |
Args |
2013-10-11 09:56:07 | pitrou | set | recipients:
+ pitrou, barry, kristjan.jonsson, vstinner, christian.heimes |
2013-10-11 09:56:07 | pitrou | link | issue19219 messages |
2013-10-11 09:56:07 | pitrou | create | |
|