18 Jul
2003
18 Jul
'03
12:14 a.m.
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