[pypy-dev] Re: Using PyPy as a compiler
Hart's Antler
bhartsho at yahoo.com
Wed Feb 9 02:31:29 CET 2005
Hi,
unannotated, i found that the pypy to c compiled code runs slower than the same function in
python. GCC fails to compile any of the annotated DOM code. Here's some errors it produced for
int annotated.
module_1d49eab472565cbc4619f8ff8cc35f49.c:214: error: duplicate member `__iter__'
module_1d49eab472565cbc4619f8ff8cc35f49.c:215: error: duplicate member `mro'
module_1d49eab472565cbc4619f8ff8cc35f49.c:216: error: duplicate member `values'
module_1d49eab472565cbc4619f8ff8cc35f49.c:217: error: duplicate member `__repr__'
module_1d49eab472565cbc4619f8ff8cc35f49.c:218: error: duplicate member `__hash__'
module_1d49eab472565cbc4619f8ff8cc35f49.c:219: error: duplicate member `__ge__'
module_1d49eab472565cbc4619f8ff8cc35f49.c:220: error: duplicate member `iteritems'
module_1d49eab472565cbc4619f8ff8cc35f49.c:221: error: duplicate member `__getattribute__'
module_1d49eab472565cbc4619f8ff8cc35f49.c:222: error: duplicate member `pop'
module_1d49eab472565cbc4619f8ff8cc35f49.c:223: error: duplicate member `has_key'
module_1d49eab472565cbc4619f8ff8cc35f49.c:224: error: duplicate member `__lt__'
module_1d49eab472565cbc4619f8ff8cc35f49.c:225: error: duplicate member `__init__'
module_1d49eab472565cbc4619f8ff8cc35f49.c:226: error: duplicate member `__new__'
module_1d49eab472565cbc4619f8ff8cc35f49.c:227: error: duplicate member `__contains__'
module_1d49eab472565cbc4619f8ff8cc35f49.c:228: error: duplicate member `__cmp__'
module_1d49eab472565cbc4619f8ff8cc35f49.c:229: error: duplicate member `__le__'
module_1d49eab472565cbc4619f8ff8cc35f49.c:230: error: duplicate member `itervalues'
module_1d49eab472565cbc4619f8ff8cc35f49.c:231: error: duplicate member `__doc__'
module_1d49eab472565cbc4619f8ff8cc35f49.c:232: error: duplicate member `__len__'
module_1d49eab472565cbc4619f8ff8cc35f49.c:233: error: duplicate member `__ne__'
module_1d49eab472565cbc4619f8ff8cc35f49.c:234: error: duplicate member `__getitem__'
module_1d49eab472565cbc4619f8ff8cc35f49.c: In function
`__pyx_f_39module_1d49eab472565cbc4619f8ff8cc35f49_appendChild__2dc4c10c':
module_1d49eab472565cbc4619f8ff8cc35f49.c:801: error: request for member `_childNodes' in
something not a structure or union
module_1d49eab472565cbc4619f8ff8cc35f49.c:801: warning: assignment makes pointer from integer
without a cast
module_1d49eab472565cbc4619f8ff8cc35f49.c:893: error: request for member `_childNodes' in
something not a structure or union
module_1d49eab472565cbc4619f8ff8cc35f49.c:893: warning: assignment makes pointer from integer
without a cast
module_1d49eab472565cbc4619f8ff8cc35f49.c:979: error: request for member `_childNodes' in
something not a structure or union
module_1d49eab472565cbc4619f8ff8cc35f49.c:979: warning: assignment makes pointer from integer
without a cast
module_1d49eab472565cbc4619f8ff8cc35f49.c: In function
`__pyx_f_39module_1d49eab472565cbc4619f8ff8cc35f49__xpath_attr__2dc4c5dc':
module_1d49eab472565cbc4619f8ff8cc35f49.c:2383: error: request for member `ELEMENT_NODE' in
something not a structure or union
module_1d49eab472565cbc4619f8ff8cc35f49.c:2383: warning: assignment makes pointer from integer
without a cast
module_1d49eab472565cbc4619f8ff8cc35f49.c: In function
`__pyx_f_39module_1d49eab472565cbc4619f8ff8cc35f49__xpath_text__2dc4c5a4':
module_1d49eab472565cbc4619f8ff8cc35f49.c:4814: error: request for member `TEXT_NODE' in something
not a structure or union
-brett
__________________________________
Do you Yahoo!?
All your favorites on one personal page Try My Yahoo!
http://my.yahoo.com
More information about the Pypy-dev
mailing list