[Scons-dev] Python slots value (Was: catching up)

anatoly techtonik techtonik at gmail.com
Tue Aug 19 09:57:12 EDT 2014


1. Real build with probes that dumb memory and time statistics in an
obvious way.
2. Patch that modifies SCons to use slots.
3. Part that allows to easily compare stats from both builds and add
more info to comparison.

On Tue, Aug 19, 2014 at 4:10 PM, Kenny, Jason L <jason.l.kenny at intel.com> wrote:
> By this are we looking for a fake build that make usage of this memory usage, or the test to show the value of the __slots__ in python that can be run in different python impls to so the value of slots.
>
> The test case to show the value of slots is easy to remake ( or to find in the archives), and to post results for different python impls.
>
> Jason
>
> -----Original Message-----
> From: Scons-dev [mailto:scons-dev-bounces at scons.org] On Behalf Of anatoly techtonik
> Sent: Tuesday, August 19, 2014 3:41 AM
> To: SCons developer list
> Subject: Re: [Scons-dev] catching up
>
> On Mon, Aug 18, 2014 at 8:17 PM, Kenny, Jason L <jason.l.kenny at intel.com> wrote:
>> On the slots usage.
>>
>> I believe for me the value of slots was that it reduced memory a lot. I posted tests some time ago to show this. Ideally I would be a fan of python cleaning this up internally, but at the end of the day the __slots__ just seem to be a memory allocator tweak.
>
> Thanks for the reminder. Do we have a reproducible environment to repeat experiment and test with different conditions? It may become useful for PyPy optimizations if not for CPython itself.
> _______________________________________________
> Scons-dev mailing list
> Scons-dev at scons.org
> http://two.pairlist.net/mailman/listinfo/scons-dev
> _______________________________________________
> Scons-dev mailing list
> Scons-dev at scons.org
> http://two.pairlist.net/mailman/listinfo/scons-dev



-- 
anatoly t.


More information about the Scons-dev mailing list