On 7/25/09 7:11 AM, Neil Hodgson wrote: > Martin v. Löwis: > >> I propose to add another (regular) double into the union. > > Adding a regular double as a second dummy gives the same sizes and > alignments with Mingw or MSVC as the original definition with MSVC: Great (checked that, too) This makes pretty much sense, also given that this waste happens under Windows, already. > In regard to alignment penalties, a simple copy loop for doubles > runs about 20% slower when misaligned on an my AMD processor. Other > x86 processors can be much worse. As much as 2 to 3.25 times according > to I am still unhappy with this waste of memory, just because the GC header has to be rounded up, regardlwss wether that is needed or not. We should keep Martin's hint in mind, that Python 4 could place the gc header at the end of structures, instead. cheers - chris -- Christian Tismer :^) <mailto:tismer at stackless.com> tismerysoft GmbH : Have a break! Take a ride on Python's Johannes-Niemeyer-Weg 9A : *Starship* http://starship.python.net/ 14109 Berlin : PGP key -> http://wwwkeys.pgp.net/ work +49 30 802 86 56 mobile +49 173 24 18 776 fax +49 30 80 90 57 05 PGP 0x57F3BF04 9064 F4E1 D754 C2FF 1619 305B C09C 5A3B 57F3 BF04 whom do you want to sponsor today? http://www.stackless.com/
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4