Christian Tismer wrote:
Well, I know there is a lot going on on GC and stuff,
so this obcervation might not be new, but well, here it is.

I figured that when we call the ll_decref operations, we actually
create an except block for the decref. This expectblock
then does a cleanup, by calling the same function again :-)

Probably not really what we wanted to do.

just in case this might help -- chris

Oupps I forgot to mention:

This effect can be nicely seen if you run

http://codespeak.net:/svn/user/tismer/test_wrapping.py

with the viewer (make sure to have the file inside pypy).

Hit escape three times until you get the final flow graph,
and look at the tiny function call_destructor__dummyPtr

Besides tze fact that we are still overdoing with refcounting,
you see an exception handler that makes no sense.

best - chris
--
Christian Tismer             :^)   <mailto:[EMAIL PROTECTED]>
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/
_______________________________________________
[email protected]
http://codespeak.net/mailman/listinfo/pypy-dev

Reply via email to