From: Haoyu Bai <divinekid@gm...> - 2008-07-21 16:30:23
This week I was getting familiar with ReviewBoard, and I fixed most of
the typos and mistakes pointed out by William and Richard. Again,
thanks William and Richard!
Then I have worked on the Python buffer support. I did some simple
little experiment, and the result shows that by using the buffer
protocol, performance of the generated code improved by avoid some
memcpy. For those who interested in it, details of the experiment can
be seen at my previous post:
However, what I implemented is just a simple typemap, there are
various features Python buffer interface supported. Currently I
haven't clear idea about how the interface could be used in real
application. So I need advice about what feature SWIG users expected
and how can Python's buffer interface be utilized. Any suggestion
would be *very* appreciated!