Okay cool thanks your input.
For any one else has a similar problem - writing a simple iterator function
in python (which is a generator) and assigning that to the __iter__ member
works well as an alternative. For me this turned out to be considerably
faster than using a c++ iterator/getitem itera
okay cool. I think that's a reasonable compromise. It should also
(hopefully) make it possible to move away from the indexing suite as well.
thanks for your help!
On 16 August 2011 21:41, Jim Bosch wrote:
> On 08/16/2011 11:29 AM, Babak Khataee wrote:
>
>> Okay th
Okay thanks for the info.
Things are also a lot safer if you only wrap vectors as const; it's exposing
> the mutators to Python that gets really difficult.
>
Is the const-ness of a wrapped object just a side effect of not exposing
methods which modify it or is it due to something else more explic