Hi, Prashant Saxena wrote: > I would prefer to do something with publisher module. The example that was > included with this topic is for to show the problem only. > I am using publisher in couple of files where I am about to change the code > to get the maximum gain using cython(cdef, loops and other stuff). > Now I have to find a solution for this problem first, later I'll jump for > conversion. > > Could you please suggest me some hacks that would make this thing work If I > would do some changes in pubsub modules or anything?
As Robert suggested: try to find the parts of your code that are performance critical and use Cython for them. And find the parts that require Python code and implement them in plain Python. Cython allows you to mix both pretty freely, so this will allow you to fine-tune the point of language switch as you see fit. Stefan _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
