in reply to Re: Using vec() from XS
in thread Using vec() from XS
I'm not sure how that helps? vec doesn't do any inserts, just update in-place or grow if the offest calculates beyond the current end of string.
It isn't too hard to re-code the math and bit-twiddling, the main problem is getting the memory management right. As vec does everything I need (and more), it would have been nice to find a way to re-use that code without having to either c&p or callback to perl in order to do it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Using vec() from XS
by ysth (Canon) on Sep 23, 2008 at 16:17 UTC | |
by salva (Canon) on Sep 23, 2008 at 16:33 UTC |