-
Archives
- November 2011
- September 2011
- May 2011
- February 2011
- January 2011
- December 2010
- July 2010
- January 2010
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- July 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
- October 2005
- September 2005
- August 2005
-
Meta
Category Archives: Python
MemoryMapFile Convenience Class for Python
My obsession with mmap hasn’t died, but while Python’s mmap module is a wonderful low level library it’s a bit hard for a newcomer to use properly. I’ve started toying with a convenience wrapper class for mmap.mmap (at least the … Continue reading
Sharing Python data between processes using mmap
I’ve been toying with an idea of exposing statistics for a Python application via shared memory to keep the performance impact on the application as low as possible. The goal being an application could passively expose a number of metrics … Continue reading
signalfd
This article covers signalfd, a system call only available on Linux. If anyone knows of an equivalent for OSX or BSDs,* please let me know. It’d be great to create a compatibility layer. Writing asynchronous IO code is fun; handling … Continue reading
Posted in GNU/Linux, Open Source, Python, Technology
1 Comment
Making Server-Side MongoDB Functions Less Awkward
I’ve recently switched my project at work to use MongoDB for the user database and a few other datasets. Currently I don’t use many JavaScript functions, but when I do I like to store them on the server so that … Continue reading
lxml vs. ElementTree
While lxml has some excellent benchmarks about the speed of lxml.etree vs. ElementTree, I wanted to run some tests that were as close as possible to my own use case (fairly simple multi-megabyte XML files). Here are the results of … Continue reading