HI:

I am totally new to this list, and I need someone's help.

I have some code written in C which takes an array of arbitrary values, a desired percentile, and returns the desired percentile.

I also have the descriptive statistics module, in a Perl program that I have running 24/7. It spends most of it's time getting the requested percentile.
(In comparison, the median XS program is hundreds of times faster.)
So what's the correct way to have a Perl program pass some "@array" to an inline C program, do its voodoo, and return the value at the percentile value I requested?

Don't worry about helping me with the percentile program in C, I've got that part handled. (Unless I have to change it for the inline stuff.)

Sincerely,

Gregg Allen

Reply via email to