Message 315576 - Python tracker

Message315576

Author godaygo
Recipients godaygo
Date 2018-04-21.18:52:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1524336762.03.0.682650639539.issue33326@psf.upfronthosting.co.za>
In-reply-to
Content
The opcode module contains several collections:

`cmp_op`
`hasconst`
`hasname`
`hasjrel`
...

which are only used for `in` checks. At the same time, they are stored as `list`s and `cmp_op` as tuple. Both these types are not optimal for `__contains__` checks. Maybe it is worth at least to convert them to `frozenset` type after they are filled?
History
Date User Action Args
2018-04-21 18:52:42godaygosetrecipients: + godaygo
2018-04-21 18:52:42godaygosetmessageid: <1524336762.03.0.682650639539.issue33326@psf.upfronthosting.co.za>
2018-04-21 18:52:41godaygolinkissue33326 messages
2018-04-21 18:52:41godaygocreate