Re: [Cython] callable() optimization

2012-05-09 Thread Vitja Makarov
2012/5/9 Stefan Behnel : > Vitja Makarov, 09.05.2012 10:21: >> 2012/5/9 Stefan Behnel : >>> Vitja Makarov, 09.05.2012 09:43: 2012/5/9 Stefan Behnel : > Vitja Makarov, 08.05.2012 13:27: >> I've noticed regression related to callable() optimization. >> >> https://github.com/cytho

Re: [Cython] callable() optimization

2012-05-09 Thread Stefan Behnel
mark florisson, 09.05.2012 10:37: > On 9 May 2012 09:02, Stefan Behnel wrote: >> Vitja Makarov, 09.05.2012 09:43: >>> 2012/5/9 Stefan Behnel : Vitja Makarov, 08.05.2012 13:27: > I've noticed regression related to callable() optimization. > > https://github.com/cython/cython/commit

Re: [Cython] callable() optimization

2012-05-09 Thread mark florisson
On 9 May 2012 09:02, Stefan Behnel wrote: > Vitja Makarov, 09.05.2012 09:43: >> 2012/5/9 Stefan Behnel : >>> Vitja Makarov, 08.05.2012 13:27: I've noticed regression related to callable() optimization. https://github.com/cython/cython/commit/a40112b0461eae5ab22fbdd07ae798d4a72ff523

Re: [Cython] callable() optimization

2012-05-09 Thread Stefan Behnel
Vitja Makarov, 09.05.2012 10:21: > 2012/5/9 Stefan Behnel : >> Vitja Makarov, 09.05.2012 09:43: >>> 2012/5/9 Stefan Behnel : Vitja Makarov, 08.05.2012 13:27: > I've noticed regression related to callable() optimization. > > https://github.com/cython/cython/commit/a40112b0461eae5ab2

Re: [Cython] callable() optimization

2012-05-09 Thread Vitja Makarov
2012/5/9 Stefan Behnel : > Vitja Makarov, 09.05.2012 09:43: >> 2012/5/9 Stefan Behnel : >>> Vitja Makarov, 08.05.2012 13:27: I've noticed regression related to callable() optimization. https://github.com/cython/cython/commit/a40112b0461eae5ab22fbdd07ae798d4a72ff523 class C:

Re: [Cython] callable() optimization

2012-05-09 Thread Stefan Behnel
Vitja Makarov, 09.05.2012 09:43: > 2012/5/9 Stefan Behnel : >> Vitja Makarov, 08.05.2012 13:27: >>> I've noticed regression related to callable() optimization. >>> >>> https://github.com/cython/cython/commit/a40112b0461eae5ab22fbdd07ae798d4a72ff523 >>> >>> class C: >>> pass >>> print callable(C

Re: [Cython] callable() optimization

2012-05-09 Thread Vitja Makarov
2012/5/9 Stefan Behnel : > Vitja Makarov, 08.05.2012 13:27: >> I've noticed regression related to callable() optimization. >> >> https://github.com/cython/cython/commit/a40112b0461eae5ab22fbdd07ae798d4a72ff523 >> >> class C: >>     pass >> print callable(C()) >> >> It prints True optimized version

Re: [Cython] callable() optimization

2012-05-09 Thread Stefan Behnel
Vitja Makarov, 08.05.2012 13:27: > I've noticed regression related to callable() optimization. > > https://github.com/cython/cython/commit/a40112b0461eae5ab22fbdd07ae798d4a72ff523 > > class C: > pass > print callable(C()) > > It prints True optimized version checks ((obj)->ob_type->tp_call !

[Cython] callable() optimization

2012-05-08 Thread Vitja Makarov
I've noticed regression related to callable() optimization. https://github.com/cython/cython/commit/a40112b0461eae5ab22fbdd07ae798d4a72ff523 class C: pass print callable(C()) It prints True optimized version checks ((obj)->ob_type->tp_call != NULL) condition that is True for both class and i