cython
Cython use of cinit()
I have: cdef class BaseClass(): def __cinit__(self,char* name): print \"BaseClass __cinit__()\" #... def __dealloc__():[详细]
2023-04-11 18:22 分类:问答cython inheritance
I have a A.pxd (with just declaration of functions) and A.pyx that contains just a class A with all the function body.[详细]
2023-04-10 21:25 分类:问答What's the fastest implementation for bignum? (Java's bigInteger / Cython's int / gmpy / etc...)
Are there any benchmark on this??? (I tried googling for some results but found none... and I coul开发者_StackOverflowdn\'t test gmpy because gmplib wouldn\'t be installed on my laptop)[详细]
2023-04-07 12:55 分类:问答Cython & Hadoopy compiling error.. any ideas on a fix?
I\'m trying to run Hadoopy, but am getting a compiling error on OS X: ImportError: Building module failed: [\"CompileError: command \'llvm-gcc-4.2\' failed with exit status 1\\n\"[详细]
2023-04-06 19:28 分类:问答How do I import function from .pyx file in python?
I\'m trying to run Hadoopy, which has a file _main.pyx, and import _main is failing with module not found in __init__.py.[详细]
2023-04-06 09:10 分类:问答Sharing method implementations in Cython without inheritance
I have a few classes in my ray tracer\'s Python binding that implement a .transform() method (Objects, Textures, Cameras, etc.), which takes a transformation matrix.I\'d like to have all these classes[详细]
2023-04-05 17:51 分类:问答Cython numpy array indexing
I am trying to speed up some python code with cython, and I\'m making use of cython\'s -a option to see where I can improve things.My understanding is that in the generated html file, the highlighted[详细]
2023-04-05 03:47 分类:问答Cython install problem
I got Cython 0.15 and tried to install it like this python setup.py insta开发者_StackOverflow社区ll[详细]
2023-04-01 17:37 分类:问答undefined _PyUnicodeUCS4_IsWhitespace in compiled cython+numpy
i work on ubuntu 10.04 and used cython to compile my python code开发者_如何学Go. i then tried to copy 2 of my binaries (one with numpy, and one without) to another distribution with supported kernel a[详细]
2023-03-30 03:00 分类:问答Use Cython as Python to C Converter
I have huge Python modules(+8000 lines) .They basically have tons of functions for interacting with a hardware platform via serial port by reading and writing to hardware registers.[详细]
2023-03-28 21:42 分类:问答