Let me expand on the reasons for my post here. It seems like motivation has
turned into a bit of a bike-shead. I have an algorithm I wanted to see if the
python devs would be interested in. It fulfills my use case as is. I've found
it useful for different problem areas and I haven't seen anything similar so I
thought it might be useful to others.
It's written in Python. It used to require containers with 100k or more
elements to see a speed improvement over some other unnamed methods. These days
its closer to 50 million with the only other contender being set (hash based)
operations at least that I know of. I think there is a reasonable chance that
if it were converted to C it would be comparable to if not better than the Set
operations for people who wanted lists for what ever reason, even with much
smaller data sets. One issue is that it is difficult to time test because it
has side effects and because well computers. It's also difficult to know what
users would put into a list so that we determine it's usefulness, either in
relation to set operations or not. I'm used to thinking in lists so I don't
have good judgement on how useful it would be to other people.
I'm most concerned with getting feedback from the list to determine if it would
fit any other use cases. If there is some kind of need for it as a general
function. If no one ever uses lists with more than 100k elements then it's not
worth the time to look into. There's nothing wrong with that. I just thought
that if I could give back something a little unique for my years of using
python it would be fun and worthwhile.
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/python-ideas@python.org/message/NZY47PU5W2AV7EQQPM6THVICZWM5Z2ZL/
Code of Conduct: http://python.org/psf/codeofconduct/