Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bpo-42927: Update the What's new entry for LOAD_ATTR optimizations#24383

Merged
pablogsal merged 1 commit intopython:masterpython/cpython:masterfrom
pablogsal:bpo-42927pablogsal/cpython:bpo-42927Copy head branch name to clipboard
Jan 31, 2021
Merged

bpo-42927: Update the What's new entry for LOAD_ATTR optimizations#24383
pablogsal merged 1 commit intopython:masterpython/cpython:masterfrom
pablogsal:bpo-42927pablogsal/cpython:bpo-42927Copy head branch name to clipboard

Conversation

@pablogsal
Copy link
Member

@pablogsal pablogsal commented Jan 30, 2021

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Honestly the 30% is a pretty wild guess -- your 36% clearly is not. I'm not even sure how to really measure this, given that when I build Python from source it's somewhat slower than the python.org binary. I assume this is because of PGO or other compiler flags. (Not --with-pydebug, that is much slower still.)

Up to you if you still want to put it this way.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did some more rigurous measurements for slots and I have updated the text.

@gvanrossum
Copy link
Member

Wow!

@pablogsal pablogsal deleted the bpo-42927 branch May 19, 2021 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.