100-languages icon indicating copy to clipboard operation
100-languages copied to clipboard

Somewhat tuned Rye solution

Open refaktor opened this issue 1 year ago • 2 comments

You made a great Rye example! I just tried to tune it in a little more, and use some more already available (but some updated) functions like group and contains and unpack.

You also proposed intersection\by and sort\by, which I added to Rye now, but didn't use here at the end. Maybe because I still don't fully understand the algo :P. I think I understand everything, but that part about transformation related to possible squares eludes me, probably I need to do some more thinking :)

Anyhow, you said that we can post these and you will keep the PR open as additional info to examples. Great project!

refaktor avatar Jan 21 '25 11:01 refaktor

Thanks! That looks like it's taking much better advantage of the built-ins!

jaredkrinke avatar Jan 22 '25 02:01 jaredkrinke

Thanks! That looks like it's taking much better advantage of the built-ins!

Well, I did have to improve some of them (make them usable with blocks not just string for example) to make them usable here, so when you wrote the code you couldn't use them yet.

refaktor avatar Jan 22 '25 23:01 refaktor