I've been working, on and off, on a set of Cython acceleration extensions for Pyglet. My current plan is to have them available as something you can include separately, that monkeypatches an existing Pyglet instance, so you can apply it selectively and non-destructively. I have this running right now on my own, but it's a mess -- so what I'm thinking I'll do is wait until the next point release, then port it to that and offer it as something more formal.
The patches amount to taking a number of common functions -- essentially, all the OpenGL stuff funneled through ctypes -- and converting them to pure C for minimal overhead. I've gotten something like a 4× speedup for some things on my own, and possibly more depending on what else I can optimize. Tthere's still the overhead from the Python interpreter itself, of course, but the less we have to go through it for anything, the better. -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/d/optout.
