Lwaxana Troi should have been the Enterprise computer voice, amirite!?!?
JohnnyCanuck
Thanks! I didn't know about that community.
TLDR: 3.11 is twice as fast as 3.10 at doing global name lookups, so an old speedup hack of aliasing a global function locally isn't needed.
For example, when calling len() in a loop, going l=len, and calling l() in the loop was faster in 3.10. In 3.11, moreso in 3.13, it's almost a wash.
However, the author says this:
Accessing functions through a module [e.g. math.sin()] or a deep attribute chain can still carry overhead. Creating a local alias or using "from module import name" continues to be effective in those situations.
But when I look at the numbers, I would say 3.13 is pretty close to making it an unnecessary optimization in general. A little subjective on how you interpret the numbers.
Great info, but this was like trying to use a recipe and reading the author's life story to get there.
Monopolies will do that.
I guess they shouldn't have privatized hydro after all...
Makes my earbrows tingle
No sense crying over spilt milk. Just buy another one! It's only property.
https://www.cbc.ca/news/canada/saskatchewan/wildfire-air-ronge-evacuation-pelican-narrows-1.7556430
More than 10,000 evacuees are being supported by the Red Cross and 860 are being supported by the SPSA (Saskatchewan Public Safety Agency).
About 15,000 have fled Saskatchewan wildfires and more coming: Premier Moe
Moe said he has spoken with his provincial counterparts, as well as Prime Minister Mark Carney, and was told that resources would be made available to battle the fires that continue to affect more than 30 communities.
Trade watchers have always suspected Canada was holding on to the DST mainly for negotiating purposes. It was something generally positive for Canada that could nonetheless plausibly be negotiated away for some meaningful purpose, perhaps in the planned six-year review of the Canada-U.S.-Mexico Agreement (CUSMA) that replaced NAFTA under the first Trump presidency. Prime Minister Carney admitted this was the plan in a press scrum today (June 30).
I'm really hoping they played this card right. It doesn't feel like they did, but I hope Carney is playing on a level we don't get.
Cue, Queue or Q. No Que, okay?