Archives week 44 of 2008
Nov. 3, 2008 - Nov. 9, 2008
Finally got SimpleParse updated to use Py_ssize_t
Written by
on
in
Snaking.
I finally sat down this evening to get SimpleParse updated to use the Py_ssize_t type instead of ints for tracking offsets, lengths and the like. Was lots and lots of trivial updates, rather than anything particularly difficult... exactly the kind of thing I hate spending time on.
Anyway, don't yet have a Python2.6 ...
Quality Time with PyOpenGL
Written by
on
in
Snaking.
Spent some quality time this evening with PyOpenGL, OpenGLContext and KCacheGrind. Quite a few tiny improvements in the code-base. I'm still just picking out little bits of fluff that are "wrong" as they show up in the profiling. There was ~4% of total run-time on this machine spent in Python's warnings.warn() function ...
Profiling OpenGLContext fun...
Written by
on
in
Snaking.
Profiling OpenGLContext on a relatively large VRML97 world. Interesting stats (in OpenGL, ignoring OpenGLContext slow-points):
- 3% of total runtime is in a function which just does numpyarray.ctypes.data; it seems the ctypes array sub-object is a Python instance that has multiple operations in its initializer and is recreated on each access (with many accesses ...
Seems I need to update the video card again
Written by
on
in
Snaking.
Seems Nvidia has released OpenGL 3.0 drivers for Linux (yay!) but they don't support my GeForce 7600GS (sigh). I'm thinking maybe I should buy a kick-posterior gaming laptop with an uber-3D chip so I'm not always tied to my workstation at home if I want to do OpenGL 2.0 or ...
Finishing is Good
Written by
on
in
Snaking.
Finally got my talk proposals in to PyCon. I went for 3 this time, mostly because each of them seemed like it would be interesting enough to excite people. I doubt all three will be accepted, but hey, maybe I can do a couple of them in Open Space. I didn't propose the "graphics ...