Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USE_CACHE_ALIGNED still helpful? #36185

Closed
tim-one opened this issue Feb 28, 2002 · 3 comments
Closed

USE_CACHE_ALIGNED still helpful? #36185

tim-one opened this issue Feb 28, 2002 · 3 comments
Assignees
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs)

Comments

@tim-one
Copy link
Member

tim-one commented Feb 28, 2002

BPO 524062
Nosy @tim-one, @jackjansen

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/jackjansen'
closed_at = <Date 2002-04-11.21:57:32.000>
created_at = <Date 2002-02-28.21:53:42.000>
labels = ['interpreter-core']
title = 'USE_CACHE_ALIGNED still helpful?'
updated_at = <Date 2002-04-11.21:57:32.000>
user = 'https://github.com/tim-one'

bugs.python.org fields:

activity = <Date 2002-04-11.21:57:32.000>
actor = 'tim.peters'
assignee = 'jackjansen'
closed = True
closed_date = None
closer = None
components = ['Interpreter Core']
creation = <Date 2002-02-28.21:53:42.000>
creator = 'tim.peters'
dependencies = []
files = []
hgrepos = []
issue_num = 524062
keywords = []
message_count = 3.0
messages = ['9465', '9466', '9467']
nosy_count = 2.0
nosy_names = ['tim.peters', 'jackjansen']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue524062'
versions = []

@tim-one
Copy link
Member Author

tim-one commented Feb 28, 2002

Jack asked for this report:

"""
MacPython uses it. At the time it was put in it caused
a 15% increase in Pystones because dictionary entries
were aligned in cache lines. But: this was in the PPC
601 and 604 era, I must say that I've never tested
whether it made any difference on G3 and G4.

Put in a bug report in my name, and one day I'll get
around to testing whether it still makes a difference
on current hardware and rip it out if it doesn't.
"""

@tim-one tim-one closed this as completed Feb 28, 2002
@tim-one tim-one added the interpreter-core (Objects, Python, Grammar, and Parser dirs) label Feb 28, 2002
@tim-one tim-one closed this as completed Feb 28, 2002
@tim-one tim-one added the interpreter-core (Objects, Python, Grammar, and Parser dirs) label Feb 28, 2002
@jackjansen
Copy link
Member

Logged In: YES
user_id=45365

As MacPython normally uses the standard MSL malloc nowadays (and will probably use pymalloc in the future) the benefit of USE_CACHE_ALIGNED has disappeared. I've removed it.

@tim-one
Copy link
Member Author

tim-one commented Apr 11, 2002

Logged In: YES
user_id=31435

Since Jack removed this moldy old symbol, closing this as
Fixed.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs)
Projects
None yet
Development

No branches or pull requests

2 participants