[issue28607] C implementation of parts of copy.deepcopy

2019-01-20 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Hy Rasmus, would you like to make a PR with your patch and adding some tests? Thanks! -- nosy: +pablogsal ___ Python tracker ___ ___

[issue28607] C implementation of parts of copy.deepcopy

2016-11-08 Thread Rasmus Villemoes
Rasmus Villemoes added the comment: New version, addressing (hopefully) all review comments. -- Added file: http://bugs.python.org/file45400/deepcopy.patch ___ Python tracker ___

[issue28607] C implementation of parts of copy.deepcopy

2016-11-03 Thread Brett Cannon
Changes by Brett Cannon : -- components: +Extension Modules -Library (Lib) stage: -> test needed ___ Python tracker ___ ___ Python-bu

[issue28607] C implementation of parts of copy.deepcopy

2016-11-03 Thread Rasmus Villemoes
New submission from Rasmus Villemoes: This is mostly an RFC patch. It compiles and passes the test suite. A somewhat silly microbenchmark such as ./python -m timeit -s 'import copy; x = dict([(str(x), x) for x in range(1)]);' 'copy.deepcopy(x)' runs about 30x faster. In the (2.7 only) ap