[issue28988] Switch dict and set structures to PyVarObject

2019-08-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: > Since I don't see a benefit from this change I leave both patches > to you Raymond. After more reflection, I also don't see any point of doing this. While there is a minor whiff of consistency when using Py_SIZE(), it makes the assignment look weird an

[issue28988] Switch dict and set structures to PyVarObject

2016-12-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Since I don't see a benefit from this change I leave both patches to you Raymond. -- ___ Python tracker ___ _

[issue28988] Switch dict and set structures to PyVarObject

2016-12-21 Thread STINNER Victor
STINNER Victor added the comment: Raymond Hettinger: > Please leave the set object patch for me. I would like to do it a bit > differently. Differently? How? -- ___ Python tracker ___

[issue28988] Switch dict and set structures to PyVarObject

2016-12-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: Please leave the set object patch for me. I would like to do it a bit differently. -- ___ Python tracker ___ __

[issue28988] Switch dict and set structures to PyVarObject

2016-12-20 Thread INADA Naoki
INADA Naoki added the comment: LGTM -- nosy: +inada.naoki ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue28988] Switch dict and set structures to PyVarObject

2016-12-16 Thread STINNER Victor
STINNER Victor added the comment: Copy/paste of my msg283176: > dict doesn't end with array. Right, but... Recently I looked at dict internals. As a newcomer, I have to confess that it's currently really hard to understand the purpose of each dict field: they are many "sizes": size of the ha

[issue28988] Switch dict and set structures to PyVarObject

2016-12-16 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: In issue28959 Raymond said that a dict structure can be switched to PyVarObject. Victor guessed that it makes sense to switch a set structure too. Proposed patch implements this. The layout of a dict structure is not changed. The number of used and filled