in reply to embed perl: Can I avoid to copy a c array?
Well, perhaps. You could probably pass a tied array back to perl and do the lookups from XS. It feels pretty complicated though, and you'll end up doing all the copying anyway, just slower.
-Paul
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: embed perl: Can I avoid to copy a c array?
by JavaFan (Canon) on Sep 24, 2008 at 15:27 UTC |