Find word by given characters

Bischoop Bischoop at vimart.net
Mon Nov 2 05:29:11 EST 2020


On 2020-11-01, duncan smith <duncan at invalid.invalid> wrote:
>> 
>
> But this generates the letters counts for each word. They only need to
> be generated once (outside the for loop). And using count requires
> iterating over the letters / words for each x in letters (rather than
> once). For a large enough collection of words you'd notice the difference.
>

You're pretty much right, it doesn't go too fast.
I've done this years ago with Python2, had a bit free time now and
wanted to ReLearn Python from starting old projects I've done in past
but can't remember how I made it working lol. 


More information about the Python-list mailing list