A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-June/025307.html below:

[Python-Dev] Rich Comparison from "C" API?

[Python-Dev] Rich Comparison from "C" API? [Python-Dev] Rich Comparison from "C" API?Tim Peters tim.one@comcast.net
Wed, 12 Jun 2002 12:01:10 -0400
[Tim]
> 1. You really want PyObject_RichCompareBool in your example, not
>    PyObject_RichCompare.  The former is much more efficient in some
>    cases (e.g., a total ordering on dicts is much hairer to determine
>    than just equality).


[David Abrahams]
> Now you're really pulling my leg. PyObject_RichCompareBool is just:
> ...
> How can that be more efficient that PyObject_RichCompare?

I wasn't pulling your leg there, I was simply wrong.  Who can blame me?  You
never documented this stuff <wink>.





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