-
Committer:
John Arbash Meinel
-
Date:
2009-09-14 04:42:22 UTC
-
mto:
(4679.6.1 2.1-export-c-api)
-
mto:
This revision was merged to the branch mainline in
revision
4735.
-
Revision ID:
john@arbash-meinel.com-20090914044222-a1nnzosoosefb2sd
Using Key_New() rather than Key(PyTuple_New()) gets us to 720ms.
It takes some gymnastics to get it to work, because we have to export the
symbol and then find the .lib file to use it from the pyrex code.
setup.py syntax doesn't seem to support that cleanly :(
Going further, we'll have to update _flatten_node to support Key nodes,
since right now it has some explicit 'is tuple' checks that fail.