I’m already competent at Python. Is it worth learning C++ (or some other more efficient language) for a time-based coding competition (the code must finish within a time limit)?
AKR , read question again.
It's not asking which is better as first language but it asks which one best suits for time based coding competition.
Threads you linked are irrelevant.