Join Nostr
2026-10-23 11:59:44 UTC
in reply to

Rusty the Borgor King on Nostr: I had to compare two massive lists returned by two completely different APIs by ...

I had to compare two massive lists returned by two completely different APIs by comparing two of the values on each list. Turning one into a dictionary with two of its values in a tuple as the key while iterating over the other one and checking the dict for each value is the way I settled on. Idk if that's the right way to do it but it cleaned up a lot of really ugly nested for loops into one nice and clean loop :neofox_googly_shocked:​