“CTRL+Z CTRL+Z CTRL+Z”
If I had let the whole thing play out, 30,000+ operations would have been used in under 5 minutes.
So, Basically, this is what happened.
I was testing a new API, that has a lot of duplication among its endpoints.
So i was breaking apart the arrays and collections, and putting them back together while merging duplicate collections to determine which endpoints on which APIs I need to hit every day.
It was actually 36>(relevant to me) different APIs with a bunch of overlap, from the
same sportsbook/fantasy house that is a sponsor of one of the companies I am involved with.
Built out the 2nd half, without testing module by module,
honestly thought I iterated the correct array/closed off the right iterators with aggregators placed to cost the standard 2 operations for unpackage+repackage of a dataset.
Hit the Run Once Button.
|watched it for 40 seconds, then looked over at my discord chat: turned back to see
Moral of the story is,
, this happens to the best of us.
Always before hitting the run button.
- Especially if non-3rd party modules are the majority of your scenario
When iterating new data structures: That entirely
Add a “mistake catching” filter:
At each spot where you iterate a set of data.
Hope my pain, brings y’all knowledge
or at least entertainment
Tis all for now.
Have a good week y’all!
I use bold and caps to balance out my struggle to keep things concise and readable.
This has the added benefit:
that it draws the eyes to the most important pieces so that you can just skim and get the gist.
No aggression or shouty vibes are intended.
Thank you for understanding!