On 03/28/10 08:31 PM, Shawn Walker wrote:
Greetings,
The following webrev contains fixes for the following issues:
15386 action fromstr could pool attribute names to reduce memory usage
15388 actions could use __slots__ to reduce memory usage
15389 pkgplans could use __slots__ to reduce memory usage
webrev:
http://cr.opensolaris.org/~swalker/pkg-slots/
updated webrev (diff against 1st):
http://cr.opensolaris.org/~swalker/pkg-slots-v1-v2/
Summary of changes:
* use python intern mechanism instead of dict for attr pooling
* fix legacy pkg_summary assignment
* fix key decref/incref handling
* fix incref/decref for attr
* fix decref handling for no action key/attr case
Memory usage reduction and performance timings appear to remain roughly
the same as the first webrev.
Cheers,
-Shawn
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss