Viewing entries tagged with 'schema'

To __slots__ or not to __slots__?

Posted by tkouts on 18 February 2009 | 0 Comments

Tags: __slots__, agile, schema

In one of the previous Porcupine releases I decided to add the Python's __slots__ class attribute to every class which is schema related. This was done in favor of smaller memory consumption since these classes don't have a dictionary (the __dict__ attribute) for keeping instance variables.

0 comments | Read the full post

Clicky Web Analytics