in reply to Re: Max of 23 and 27 is 23?
in thread Max of 23 and 27 is 23?

The behaviour you observe is a missing SvGETMAGIC­(sv) to handle such scalars.

Which is pretty much to be expected with the vast majority of XS code. Which is one reason why I almost never use List::Util routines. Must use XS for "speed!". Correctness, well, that doesn't matter quite as much.

- tye        

Replies are listed 'Best First'.
Re^3: Max of 23 and 27 is 23? (XS--)
by Anonymous Monk on Jul 09, 2015 at 21:28 UTC
    > Which is one reason why I almost never use List::Util routines. Must use XS for "speed!". Correctness, well, that doesn't matter quite as much. The authors care about correctness. However, they cannot fix bugs that they are not informed of.