strawlab / pyopy

Python bindings to interesting matlab libraries for data analysis
Other
86 stars 16 forks source link

Group computations to do more in octave land with less number of calls #8

Open sdvillal opened 9 years ago

sdvillal commented 9 years ago

Most of pyopy is geared towards this. Ideally we would:

There are two complications on matlab code generation for this task:

The first task, though, would be to properly measure the overhead of both method call and many-struct retrieval. It was really dominating computation with the initial versions of the bindings but now, after combining pymatbridge for calls and oct2py+ramdisk for data transfers, things seems much better in that respect. So it might be better to just let things as they are, simple and fairly robust, than saving an irrelevant amount of time.