This is all over now, but I do think that the change from char to int
was made for alignment reasons. I don't know, but I could certainly
imagine that aligned memcpy calls are faster. I can't explain why I
still put the 3-byte savings comment in SVN -- perhaps I was in a
hurry.
On Sun, Mar 22, 200
Christian Tismer stackless.com> writes:
>
> Or was it maybe to just keep the string layout on many
> common platforms compatible, in order to save rebuilding
> so many windows extension modules?
>
> If the latter is true and the only reason, I vote for reclaiming
> the three bytes. Maybe it save
On Sun, Mar 22, 2009 at 20:38, Christian Tismer wrote:
> On 3/22/09 8:01 PM, "Martin v. Löwis" wrote:
>
>> Now, the internals are very clear to me. What I don't understand
>>> is where the three saved bytes should be.
>>>
>>
>> If you look at the various patches in
>>
>> http://bugs.python.org/iss
On 3/22/09 8:01 PM, "Martin v. Löwis" wrote:
Now, the internals are very clear to me. What I don't understand
is where the three saved bytes should be.
If you look at the various patches in
http://bugs.python.org/issue576101
then there is a three-byte saving in all versions from 1 to 6.
Conse
On 3/22/09 8:01 PM, "Martin v. Löwis" wrote:
Now, the internals are very clear to me. What I don't understand
is where the three saved bytes should be.
If you look at the various patches in
http://bugs.python.org/issue576101
then there is a three-byte saving in all versions from 1 to 6.
Conse
> Now, the internals are very clear to me. What I don't understand
> is where the three saved bytes should be.
If you look at the various patches in
http://bugs.python.org/issue576101
then there is a three-byte saving in all versions from 1 to 6.
Consequentially, the API was changed in those ver
Christian Tismer wrote:
... but I'm curious.
Hi Guido,
while working on Psyco, I stumbled over a log entry in modsupport.h:
19-Aug-2002 GvR1012Changes to string object struct for
interning changes, saving 3 bytes.
The change to stringobject was this (rev. 2
... but I'm curious.
Hi Guido,
while working on Psyco, I stumbled over a log entry in modsupport.h:
19-Aug-2002 GvR 1012Changes to string object struct for
interning changes, saving 3 bytes.
The change to stringobject was this (rev. 28308):
Bef