[Python-bugs-list] [ python-Bugs-524062 ] USE_CACHE_ALIGNED still helpful?

noreply@sourceforge.net noreply@sourceforge.net
Thu, 11 Apr 2002 14:57:32 -0700


Bugs item #524062, was opened at 2002-02-28 16:53
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=524062&group_id=5470

Category: Python Interpreter Core
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Tim Peters (tim_one)
Assigned to: Jack Jansen (jackjansen)
Summary: USE_CACHE_ALIGNED still helpful?

Initial Comment:
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.
"""

----------------------------------------------------------------------

>Comment By: Tim Peters (tim_one)
Date: 2002-04-11 17:57

Message:
Logged In: YES 
user_id=31435

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

----------------------------------------------------------------------

Comment By: Jack Jansen (jackjansen)
Date: 2002-04-11 17:49

Message:
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.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=524062&group_id=5470