Memory efficient Python objects