[Python-Dev] PEP 509: Add a private version to dict (original) (raw)
Yury Selivanov yselivanov.ml at gmail.com
Wed Jan 20 14:23:43 EST 2016
- Previous message (by thread): [Python-Dev] PEP 509: Add a private version to dict
- Next message (by thread): [Python-Dev] PEP 509: Add a private version to dict
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 2016-01-20 2:09 PM, Maciej Fijalkowski wrote:
> You don't free a version tag that's stored in the guard. You store the object and not id
Ah, got it. Although for my current cache design it would be more memory efficient to use the dict itself to store its own unique id and tag, hence my "ma_extra" proposal. In any case, the current "ma_version" proposal is flawed :(
Yury
- Previous message (by thread): [Python-Dev] PEP 509: Add a private version to dict
- Next message (by thread): [Python-Dev] PEP 509: Add a private version to dict
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]