Author floyd
Recipients floyd, taleinat, tim.peters
Date 2018-06-11.14:40:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Yes, I agree this should be closed. Especially because my proposed code is so incredibly bad (e.g. regarding performance) that it should be rejected. Back then I was horribly wrong and didn't understand the problem well enough yet.

If somebody would like to have such a function, this is all it needs:

def quick_ratio_ge(self, a, b, threshold):
    return threshold <= 2.0*(len(a))/(len(a)+len(b))

Here is how I actually use it in code:

Sorry for the fuzz
Date User Action Args
2018-06-11 14:40:32floydsetrecipients: + floyd, tim.peters, taleinat
2018-06-11 14:40:32floydsetmessageid: <>
2018-06-11 14:40:32floydlinkissue24384 messages
2018-06-11 14:40:32floydcreate