Antoine Pitrou <pit...@free.fr> added the comment:

> The various structures now contain several 'boolean' flags. It would 
> improve memory usage to use bitfields. Or would this impact performance 
> ?

Those structures usually allocate a 4KB- or 8KB- buffer each, so I don't
think squeezing two or three bytes would do a lot of difference
(performance probably wouldn't be affected either).

Also, I don't find the bitfield notation very readable (and it isn't
found anywhere else in the interpreter AFAIK), but that's just me :-)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5883>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to