Spoiler: divide and conquer is the way to go. Adding paths one at a time to a massive union is slow.
This seem like more of a surprise to the author than it was for me.
I’d say the takeaway is that treating everything like a black box doesn’t produce good results (sometimes). And not knowing enough to open the box completely leaves you with a lot of unknowns, surprises, and loose ends. But hey, figuring this stuff out is why we get paid the $$$.
Sometimes it would help to read a book or consult someone more knowledgeable though.
This seem like more of a surprise to the author than it was for me.
I’d say the takeaway is that treating everything like a black box doesn’t produce good results (sometimes). And not knowing enough to open the box completely leaves you with a lot of unknowns, surprises, and loose ends. But hey, figuring this stuff out is why we get paid the $$$.
Sometimes it would help to read a book or consult someone more knowledgeable though.