[Python-Dev] Python parser performance optimizations (original) (raw)
Bernardo Sulzbach mafagafogigante at gmail.com
Mon May 30 05:50:46 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 05/29/2016 10:53 PM, Steven D'Aprano wrote:
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.
It is not. It would be nice to have the values that were used to calculate these percentages.
- 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 ]