Yesterday was a good day, we walked twenty kilometers for one cache :) (not gonna do that again until I am more fit though, that or I'm getting old).
Script is updated, it shouldn't take more than 3-4 seconds to run independent of cache count now. I realized there is a bug in the original regarding filter on types, will update and give SeekerSupreme a hint as well.
Target, I considered your idea about sub tables, but for this use-case in-place filtering should be more effective (mostly with showresult:any of course). I hope you like what I have done ;).