Commit dba90afa authored by Vincent Pelletier's avatar Vincent Pelletier

client.container: Use __slots__ for faster attribute access.

parent 48ff0513
...@@ -64,6 +64,8 @@ class SimpleQueue(object): ...@@ -64,6 +64,8 @@ class SimpleQueue(object):
return not self._queue return not self._queue
class ContainerBase(object): class ContainerBase(object):
__slots__ = ('_context_dict', )
def __init__(self): def __init__(self):
self._context_dict = {} self._context_dict = {}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment