JohnnyCanuck

joined 2 years ago
MODERATOR OF
[–] JohnnyCanuck@lemmy.ca 6 points 1 month ago

Cue, Queue or Q. No Que, okay?

[–] JohnnyCanuck@lemmy.ca 1 points 1 month ago* (last edited 1 month ago)

Any chance of bringing this one back? It doesn't seem to be working.

Edit: Nevermind, seems the problem is on my end.

[–] JohnnyCanuck@lemmy.ca 6 points 1 month ago (3 children)

I wonder if 3d printed driver tips would be better for matching the material strength and reduce stripping. Or maybe they wouldn't have enough strength at all and would just twist and fall apart.

I was also wondering how well printing drywall anchors would work.

[–] JohnnyCanuck@lemmy.ca 15 points 1 month ago (1 children)

Lwaxana Troi should have been the Enterprise computer voice, amirite!?!?

[–] JohnnyCanuck@lemmy.ca 4 points 1 month ago (1 children)
[–] JohnnyCanuck@lemmy.ca 3 points 1 month ago (1 children)

Thanks! I didn't know about that community.

[–] JohnnyCanuck@lemmy.ca 37 points 1 month ago (2 children)

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.

[–] JohnnyCanuck@lemmy.ca 2 points 1 month ago (1 children)

Yeah that was just the byline and I grabbed some excerpts about what triggered it.

Thanks for pointing this out though. Personally, I'm glad they're taking action and coming at it from multiple angles.

[–] JohnnyCanuck@lemmy.ca 4 points 1 month ago

Monopolies will do that.

[–] JohnnyCanuck@lemmy.ca 6 points 1 month ago (2 children)

I guess they shouldn't have privatized hydro after all...

[–] JohnnyCanuck@lemmy.ca 3 points 1 month ago (1 children)
view more: ‹ prev next ›