dino has asked for the wisdom of the Perl Monks concerning the following question:
I'm building a c based binary search routine in the pursuit of speed. I need to pass to it a large string by reference and I'm not sure how to do it so that no copying occurs, using the xs interface
Suggestions Please (snippets of xs file would be very instructive)
dino
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Passing a very large string by reference to a c library
by jeroenes (Priest) on Jul 12, 2001 at 16:49 UTC | |
by dino (Sexton) on Jul 16, 2001 at 15:22 UTC | |
by dino (Sexton) on Jul 12, 2001 at 17:02 UTC | |
by tye (Sage) on Jul 13, 2001 at 20:56 UTC | |
|
Re: Passing a very large string by reference to a c library
by Hofmator (Curate) on Jul 12, 2001 at 17:10 UTC | |
by dino (Sexton) on Jul 12, 2001 at 17:19 UTC | |
by dino (Sexton) on Jul 12, 2001 at 18:37 UTC | |
by dino (Sexton) on Jul 12, 2001 at 20:03 UTC |