copy-on-write for dict objects?

Matthias Oberlaender matthias.oberlaender at REMOVE.daimlerchrysler.com
Mon Jan 13 09:20:23 CET 2003


Is there an easy way in Python 2.2.1 to add a copy-on-write mechanism to 
subclasses of dict, i.e. without extending/modifying the C-code 
implementation?  (I guess there is none!)

I don't want to resort to UserDict again, since, at least for my purposes, 
it's much slower than direct subclasses of dict (around 10x)

Thanks! 


--
 ____  __  _/_/ . 
( / / ( /  / / /  

=====================================================================
Matthias Oberlaender, DaimlerChrysler AG, Research Center Ulm
RIC/AP (Machine Perception)
Wilhelm-Runge-Str. 11,  P.O. Box 2360,  89013 Ulm, Germany
Phone: +49 731 505 2354       Fax: +49 731 505 4105
Email: matthias.oberlaender at REMOVE.daimlerchrysler.com
=====================================================================





More information about the Python-list mailing list