Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: is perl the best tool for this job ?

by etj (Chaplain)
on Jun 26, 2022 at 01:35 UTC ( #11145058=note: print w/replies, xml ) Need Help??

in reply to is perl the best tool for this job ?

Thought from THE FUTURE: MetaCPAN (the best and now, only, way to look up and/or search for things on CPAN) uses ElasticSearch (written in Java) for text-searching - in other words, use the best tool for the job.

Regarding PDL, I recently cribbed some code in order to add PDL support STL ("Stereolithograpy", a lingua franca format for 3D printing in 2022). When I switched from a Perl loop reading a chunk of bytes then using unpack, to making an ndarray where it sliced the relevant parts of each chunk out and treated those as single-precision data, the data-processing more than doubled in speed. In other words, PDL's data-processing is (not surprisingly) faster than an interpreted language's processing, even using the optimised unpack functionality.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11145058]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2022-08-17 01:18 GMT
Find Nodes?
    Voting Booth?

    No recent polls found