Martin v. L?wis wrote: > The compiler could not use this optimization if we had > > struct _dictobject { > PyObject _o; > int ma_fill; > int ma_used; > int ma_mask; > PyDictEntry *ma_table; > PyDictEntry *(*ma_lookup)(PyDictObject *mp, PyObject *key, long hash); > PyDictEntry ma_smalltable[PyDict_MINSIZE]; > }; That's what I suspected. If Python 3 was implemented using ANSI C, how would you suggest we implement objects? Neil
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4