Re: [Sqlalchemy-tickets] [sqlalchemy] #2720: new C extensions for attribute accessing
Brought to you by:
zzzeek
|
From: sqlalchemy <mi...@zz...> - 2013-05-08 15:05:43
|
#2720: new C extensions for attribute accessing
-----------------------------------+---------------------------------------
Reporter: zzzeek | Owner: zzzeek
Type: enhancement | Status: new
Priority: medium | Milestone: 0.9.0
Component: cextensions | Severity: very major - up to 2 days
Resolution: | Keywords:
Progress State: not decided upon |
-----------------------------------+---------------------------------------
Comment (by ged):
Replying to [comment:16 claudiofreire]:
> BTW: Hold on a bit if 426 lines of C look intimidating (I'd think so),
since I still have to try Pyrex. I've got to check whether Pyrex can
replace the other extensions too, for it would be pointless to just
introduce it for this one and not the others.
FWIW, I discovered Cython just after I finished implementing the initial C
extensions (but before it got committed), so I did try to generate them
using Cython. Back then, I could not get Cython (never tried pyrex) code
to be nearly as fast as the pure C extensions, so I dropped the idea since
the pure C extensions were already written. It was faster than pure-python
but not fast enough (IMO) to be worth it. It is certainly worth it to try
that again, as if the speed improvement is close enough to the pure C
extensions, Cython code is indeed much more maintainable.
--
Ticket URL: <http://www.sqlalchemy.org/trac/ticket/2720#comment:18>
sqlalchemy <http://www.sqlalchemy.org/>
The Database Toolkit for Python
|