Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: Suffix-prefix matching done right

by Anonymous Monk
on Nov 14, 2021 at 05:38 UTC ( #11138802=note: print w/replies, xml ) Need Help??


in reply to Re^2: Suffix-prefix matching done right
in thread Suffix-prefix matching done right

Searching through MCE repo, I found mce_grep which ships with MCE. It depends on the OS vender including it or a separate package. The script calls an external binary, grep in this case. One can rename the file, copy, or make a symbolic link to the script itself to have it called another external binary.

It borrows bits from IPC::Run3 for capturing STDOUT/ERR on Unix platforms, but an attempt for lesser overhead it seems. See here. So this looks to be a full-fledged demonstration for doing just that; IPC::Run-like capability to run a pool of C/C++ workers. It exists :).

See also: The pure-Perl grep-like implementation is found in the mce-examples repo named egrep.pl.

Digging more, there lives another full-fledged demonstration calling Inline::C and an external C++ binary. This lives in the mce-sort repo. The Inline::C bits and corresponding user function partitions the data. Sorting the individual partitions in parallel (via an external C++ binary) is done here.

  • Comment on Re^3: Suffix-prefix matching done right

Replies are listed 'Best First'.
Re^4: Suffix-prefix matching done right
by karlgoethebier (Abbot) on Nov 14, 2021 at 10:13 UTC
    «…It exists…»

    Big surprise? That’s the way it is 🤪😎. Best regards, Karl

    «The Crux of the Biscuit is the Apostrophe»

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (1)
As of 2022-01-18 02:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (52 votes). Check out past polls.

    Notices?