Why Nostr? What is Njump?
2023-10-01 03:45:25
in reply to

Fe₂🦀₃⋅H₂🦀 (taking it SUPER easy) on Nostr: loopy pedestrian✍🏿 npub1ax453…k9uly kirby: classic edition the containers in ...

the containers in the stl are of the same nature as the ones in boost but boost writes them in the most retarded way possible with, possibly not an exaggeration, 300 nested templates inside eachother. It's good to not include stl libs in class headers where reasonable but I have never experienced significant slowdown from them. Including even one single boost header can triple your compile time instantly.

I mean come on you saw that template error right? Is that not the most satanic thing you've ever laid eyes on?

If you MUST use boost you should write an adapter class that just declares the functions you need in a header and then the implementations can actually call the boost functions. That way you only poison a single cpp file. I did this with good success in my last project before I just completely abandoned boost.
Author Public Key
npub1y6tk68elxfcrz8yx5kf32agav67hwz4rt2ff22f8rl98yxh7uxhsx69wl9