DAGDA SEARCH | Back to results | Support

Need for Speed / Goals - Python Wiki

Source: https://wiki.python.org/python/performance/NeedForSpeed/Goals.html

  1. Python Wiki /
  2. Python Wiki /
  3. Performance /
  4. Needforspeed /
  5. Need for Speed / Goals
View as Markdown

Need for Speed / Goals

Legacy Wiki Page

This page was migrated from the old MoinMoin-based wiki. Information may be outdated or no longer applicable. For current documentation, see python.org.

Sprint topics following the NeedForSpeed theme

You can add additional topics below. Please discuss the specific goals and possible approaches to these tasks!

CPython

* Comparing 8-bit and Unicode performance (AndrewDalke, FredrikLundh)

* Add itertools.imerge() and itertools.izip_longest()

Pure Python Projects

Twisted

Psyco

Py3000

Shared Memory Lib

* MartinBlais: I have had this idea in the back of my head for the longest time, to write a small C library to let non-related Python processes (i.e. not forked from one another) access a same shared memory location, even if it is just to share strings, in the manner of a shared dictionary. There is POSH, but it cannot do that, you have to fork from a single parent to use it, which means it won’t work within certain contexts (i.e. apache prefork). There is memcached, but it uses sockets, I’m sure shmem would be faster (and it’s applicable in the case where sharing only within the host is good enough). Now, I understand that it’s not directly on the Python interpreter itself, but it would provide a path to making certain kinds of Python applications faster (could EWT benefit from this?), so I’m proposing it here anyway. I’m thinking of the following steps:

(I’m a sucker, really, because that’s mostly an excuse to play with shmem interfaces, which I haven’t had the chance to do under Linux yet…)

PreviousNeed for Speed / Follow Up Next Need for Speed / Participants