[Python-Dev] Python parser performance optimizations (original) (raw)
Steven D'Aprano steve at pearwood.info
Sun May 29 21:53:59 EDT 2016
- Previous message (by thread): [Python-Dev] Python parser performance optimizations
- Next message (by thread): [Python-Dev] Python parser performance optimizations
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, May 26, 2016 at 10:19:05AM +0000, Artyom Skrobov wrote: [...]
The motivation for this patch was to enable a memory footprint optimization, discussed at http://bugs.python.org/issue26415 My proposed optimization reduces the memory footprint by up to 30% on the standard benchmarks, and by 200% on a degenerate case which sparked the discussion. The run time stays unaffected by this optimization.
That can't be right. How can you reduce memory usage by more than one hundred percent? That would mean you have saved more memory than was originally used and are now using a negative amount of memory.
-- Steve
- Previous message (by thread): [Python-Dev] Python parser performance optimizations
- Next message (by thread): [Python-Dev] Python parser performance optimizations
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]