Re: Consult about XS

2008-08-13 Thread Pablo Zea Aranibar
Hi, Really thanks for your answer, yes the second one doesnt compile because of some error typos like 'if ($elements=>{$elm})', without the hash variable ($elements) it works, But also, you are right, your code is faster than mine, :D Again thanks for your answer. Regards, On Wed, Aug 13, 2008 at

Re: Consult about XS

2008-08-12 Thread Rob Dixon
Pablo Zea Aranibar wrote: > > Hi, realy i need your help with this algorithm. > what I need is another algorithm in order to improve my own. > > example: > > my $firsSet = [ 'a', 'b', 'c', 'd', 'e' ]; > my $secondSet = [ 'x', 'y', 'z' ]; > my $thirdSet = [ 'a', 'x', 'b', 'y' ]; > my $fourthSet =

Re: Consult about XS

2008-08-12 Thread John W. Krahn
Pablo Zea Aranibar wrote: Hi, realy i need your help with this algorithm. what I need is another algorithm in order to improve my own. example: my $firsSet = [ 'a', 'b', 'c', 'd', 'e' ]; my $secondSet = [ 'x', 'y', 'z' ]; my $thirdSet = [ 'a', 'x', 'b', 'y' ]; my $fourthSet = [ 'b', 'd', 'z' ];

Re: Consult about XS

2008-08-12 Thread Pablo Zea Aranibar
Hi, realy i need your help with this algorithm. what I need is another algorithm in order to improve my own. example: my $firsSet = [ 'a', 'b', 'c', 'd', 'e' ]; my $secondSet = [ 'x', 'y', 'z' ]; my $thirdSet = [ 'a', 'x', 'b', 'y' ]; my $fourthSet = [ 'b', 'd', 'z' ]; my $counter = 0; foreach m

Re: Consult about XS

2008-08-08 Thread sisyphus
On Aug 8, 8:52 am, [EMAIL PROTECTED] (Pablo Zea Aranibar) wrote: . . > If you can give some directions, just a path to follow, it would be > appreciated. Usually, a module that uses a C library assumes that the C library has already been built. And it links to that existing library. (This is the a