Nice walkthrough of how to extend your python with rust and what to watch out for to actually speed things up, thanks!
Not sure whether this is just a property of your toy example (and not the original code), but it may be worth pointing out to future readers that the "finding close polygons" part can in practice likely be sped up drastically with some spatial data structure (eg spatial hashing or a k-d-tree).
Sorry to hear someone hurt your imaginary friend's feelings. But perhaps let him/her speak for herself then. Also, grow up and don't be a whiny a**hole. Nobody forces anyone to watch a show they don't like.