Efficient data flow between orthogonal C extensions?

Achim Domma domma at procoders.net
Wed Jun 4 17:11:36 EDT 2003


"Magnus Lie Hetland" <mlh at furu.idi.ntnu.no> wrote in message
news:slrnbdsl66.21h.mlh at furu.idi.ntnu.no...
> What I have described so far shouldn't be hard to achieve. However, I
> have one addition requirement: If one object is passing data to
> another, and both are written in C, the data passing should be as
> efficient as possible. In other words, going through a data-passing
> mechanism that is written in Python would be undesirable -- or so I
> think. The exact format of the data may be modified according to the
> mechanism chosen.

Look at http://www.boost.org/libs/python/doc/index.html. I think 'Automatic
Cross-Module Type Conversions' is what you are looking for.

Achim






More information about the Python-list mailing list