[Python-Dev] Comparison speed (original) (raw)
Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Mon, 21 May 2001 18:44:59 +0200
- Previous message: [Python-Dev] Comparison speed
- Next message: [Python-Dev] RE: [Python-checkins] CVS: python/dist/src/Modules spam.c,1.1.2.3,1.1.2.4
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This stuff all ties together. A pointer-equality test in stringcompare() is guaranteed to lose every time stringcompare() gets called from lookdictstring(). Let's lose stringcompare() entirely (in favor of a self-contained-- apart from memcmp() --stringrichcompare).
Ok. I've now updated my patch on SF to remove string_compare, inline everything into string_richcompare, add _PyString_Eq, and use that in lookdict_string. Who would want to review and approve/reject this patch?
Regards, Martin
- Previous message: [Python-Dev] Comparison speed
- Next message: [Python-Dev] RE: [Python-checkins] CVS: python/dist/src/Modules spam.c,1.1.2.3,1.1.2.4
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]