This entire discussion is about what an SE does vs what a CS does. Item #1 for an SE is to pick a library to use instead to reinventing every wheel every time. OP says they don't care about performance which is a naive, potentially stupid, approach to software engineering. Beyond this, I'm out of crayons.
Just because some hotshot (PG?) said to not optimize prematurely doesn't absolve you of your responsibility towards picking a library to use. Don't optimize early by all means but at least know why the library you picked might not be a great choice for problems you face in the real world.
Do you write your websites in C outputting raw HTML? I'm sure you don't. Clearly you made some sort of reasoned deduction about the tools at hand and went with one which got the job done. Why did you not pick C code spitting out HTML? No point premature optimizing your productivity, right?
The "hotshot" was Donald Knuth, and he was talking about getting clever before you're sure your program does what it's meant to do. The keyword is premature; analysis and optimization pretty much forms the bulk of his body of work, although he doesn't believe in sacrificing readability until you're out of other goats to kill.
If the project you are taking on is to optimize performance existing codebase, then yes, you worry about performance, because that is your primary objective.
I do care about performance myself. I did look up which Python json implementation library out there is the best in terms of performance as well as whether the library is actively used and developed.
But that's only because I knew from the beginning json marshal and unmarshal are expensive. However, I stopped worrying now and only use the native json module that comes with the standars library because I see no gain for my projects. Perhaps that matters if I am Google. A 10ms gain was not even a problem for me in my projects.
Anyway, back to the argument. Let's take architecrure and structural engineering. Building a skyscraper is a complex task. Everyone wants the next skyscraper to look different and taller. But no architects or structual engineers I am an acquaintance with would start the question "how do I reduce the cost? How do I make my building taller while maintain resistance to 9.0 earthquake."
Those are concerns, but they will use whatever knowledge they already have to draw a model. Then they run simutations and go over challenges and problems they need to resolve to meet the requirements. No one starts the actual project by looking at how much they can save.
The only people in computer science and software engineering would always bear performance in mind from the very first step are computer scientists. No one design an algoritm or a new data structure or a novel method to build origami unless the purpose is to find a better complexity (space and run time). But I want to emphaize that software engineers are computer scientists if they want to claim to be one. A formal degree is not a requirement to be a computer scientist. A good software engineer does take performance into account, but not until some MVP working code exists. One might implement the solution using quicksort knowing it is easy and effiecent enough, until they recongize qs is not fast enough then another sorting method maybe used or developed.
Productivity is the thing that is worth optimizing.
Seriously, stop worrying about performance. Don't consider it when picking libraries. You'll write better programs as a result. I know how implausible it is, but it happens to be reality.
Just because some hotshot (PG?) said to not optimize prematurely doesn't absolve you of your responsibility towards picking a library to use. Don't optimize early by all means but at least know why the library you picked might not be a great choice for problems you face in the real world.
Do you write your websites in C outputting raw HTML? I'm sure you don't. Clearly you made some sort of reasoned deduction about the tools at hand and went with one which got the job done. Why did you not pick C code spitting out HTML? No point premature optimizing your productivity, right?