Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r1440:e42feaaec732 Date: 2014-10-02 14:49 +0200 http://bitbucket.org/pypy/stmgc/changeset/e42feaaec732/
Log: update diff --git a/hashtable/design.txt b/hashtable/design.txt --- a/hashtable/design.txt +++ b/hashtable/design.txt @@ -70,5 +70,10 @@ special-cased in the implementation). More precisely, len(), keys(), clear(), etc., set all the lines' read markers; clear() additionally sets all the non-empty lines' write markers (so that it doesn't conflict - with another transaction checking that some key is really not in the + with another transaction checking that some different key is not in the dict). + +* We have an additional pair of markers (read and write) for the 'empty' + flag. It is read whenever we check 'bool(dict)'. It is written only + when we are about to commit and the emptiness state changed in this + transaction. _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit