Author rhettinger
Recipients inada.naoki, rhettinger, serhiy.storchaka, vstinner, xiang.zhang
Date 2016-10-07.03:10:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1475809839.09.0.656350649465.issue28199@psf.upfronthosting.co.za>
In-reply-to
Content
For the simple case with no dummy entries, I was expecting a fast path that just realloced the keys/values/hashes arrays and then updated the index table with reinsertion logic that only touches the indices.   Use realloc() is nice because it makes it possible that the keys/values/hashes don't have to be recopied and if they did, it would use a fast memcpy to move them to the newly resized array.
History
Date User Action Args
2016-10-07 03:10:39rhettingersetrecipients: + rhettinger, vstinner, inada.naoki, serhiy.storchaka, xiang.zhang
2016-10-07 03:10:39rhettingersetmessageid: <1475809839.09.0.656350649465.issue28199@psf.upfronthosting.co.za>
2016-10-07 03:10:39rhettingerlinkissue28199 messages
2016-10-07 03:10:38rhettingercreate