[Python-Dev] PEP 351, the freeze protocol (original) (raw)
Paolino paolo.veronelli at gmail.com
Mon Oct 24 17:30:36 CEST 2005
- Previous message: [Python-Dev] PEP 351, the freeze protocol
- Next message: [Python-Dev] PEP 351, the freeze protocol
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Paolino wrote:
Is hash=id inside a class enough to use a set (sets.Set before 2.5) derived class instance as a key to a mapping? It is hash=lambda self:id(self) that is terribly slow ,it needs a faster way to state that to let them be useful as key to mapping as all set operations will pipe into the mechanism .In my application that function is eating time like hell, and will keep on doing it even with the PEP proposed .OT probably.
Regards Paolino
- Previous message: [Python-Dev] PEP 351, the freeze protocol
- Next message: [Python-Dev] PEP 351, the freeze protocol
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]