http://qs1969.pair.com?node_id=11138671


in reply to Anyone with XS experience willing to create a high performance data type for Perl?

Have you looked at PDL? It was created explicitly to provide high performance data types for Perl. It might not have the algos you're looking for, but I can't be so quick to say that it doesn't.

Also, these bold requests would be easier on you if you approached it as something you're trying to do. It's easier to get help along the way than the approach you're taking here.

  • Comment on Re: Anyone with XS experience willing to create a high performance data type for Perl?

Replies are listed 'Best First'.
Re^2: Anyone with XS experience willing to create a high performance data type for Perl?
by etj (Deacon) on Dec 19, 2021 at 21:56 UTC
    PDL (saying this as a not-very-surprising fan) is best employed on rectangular data. I don't think tree structures are a very natural fit, although there are exceptions for some graph-theory problems!