2 new revisions:

Revision: 3cdc401848e5
Author:   Mikko Korpela <[email protected]>
Date:     Fri Nov  4 07:35:48 2011
Log:      setter: WeakKeyDict memory comment
http://code.google.com/p/robotframework/source/detail?r=3cdc401848e5

Revision: cca420b897b3
Author:   Mikko Korpela <[email protected]>
Date:     Fri Nov  4 07:59:33 2011
Log:      Automated merge with https://robotframework.googlecode.com/hg/
http://code.google.com/p/robotframework/source/detail?r=cca420b897b3

==============================================================================
Revision: 3cdc401848e5
Author:   Mikko Korpela <[email protected]>
Date:     Fri Nov  4 07:35:48 2011
Log:      setter: WeakKeyDict memory comment
http://code.google.com/p/robotframework/source/detail?r=3cdc401848e5

Modified:
 /src/robot/utils/setter.py

=======================================
--- /src/robot/utils/setter.py  Wed Oct 26 04:15:11 2011
+++ /src/robot/utils/setter.py  Fri Nov  4 07:35:48 2011
@@ -18,6 +18,8 @@
 class setter(object):

     def __init__(self, method):
+        # TODO: using {} instead of WeakKeyDict.. seems to use less memory
+        # Could we use {} with weakref keys?
         self.values = WeakKeyDictionary()
         self.method = method


==============================================================================
Revision: cca420b897b3
Author:   Mikko Korpela <[email protected]>
Date:     Fri Nov  4 07:59:33 2011
Log:      Automated merge with https://robotframework.googlecode.com/hg/
http://code.google.com/p/robotframework/source/detail?r=cca420b897b3


Reply via email to