min max from tuples in list
Steven D'Aprano
steve+comp.lang.python at pearwood.info
Thu Dec 12 18:25:49 EST 2013
On Thu, 12 Dec 2013 12:36:51 +0000, MRAB wrote:
> On 12/12/2013 11:44, Steven D'Aprano wrote:
>> On Wed, 11 Dec 2013 23:25:53 -0800, Robert Voigtländer wrote:
>>
>>> Hi,
>>>
>>> I have a list like this:
>>>
>>> a = [(52, 193), (52, 193), (52, 192), ...
>>>
>>>
>>> I need to find a -performant- way to transform this into a list with
>>> tuples (a[0],[a[0][1]min],[a[0][1]max]).
>>
>> I'm afraid I don't know what you mean by "performant". It doesn't
>> appear to be an English word, so far as I can tell. Do you mean
>> efficient?
>>
> [snip]
>
> There's some debate over whether it's English or not:
>
> http://english.stackexchange.com/questions/38945/what-is-wrong-with-the-
word-performant
Ah! I've never come across it before, and it wasn't in any of the
electronic dictionaries I tried, nor the dead-tree Shorter Oxford.
I think I don't dislike it.
--
Steven
More information about the Python-list
mailing list