← Back to team overview

beeseek-devs team mailing list archive

[Bug 311786] [NEW] Save memory by using __new__ in sockets

 

Public bug reported:

Thanks to bug #262689 we now use __slots__ for every socket object.
However some attributes in __slots__ is set in __init__ and is never
changed. An example is the buffer size. Such attributes should be set in
__new__ so they can be omitted in __slots__ saving some more virtual
memory.

We need to check if using __new__ is not a waste of CPU.

** Affects: beeseek-base
     Importance: Medium
         Status: New

** Changed in: beeseek-base
   Importance: Undecided => Medium
       Target: None => 1.0

-- 
Save memory by using __new__ in sockets
https://bugs.launchpad.net/bugs/311786
You received this bug notification because you are a member of BeeSeek
Developers, which is subscribed to BeeSeek Base.



Follow ups

References