Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Any caveats in using unpack to right-trim? Why isn't it advertised more?

by Anonymous Monk
on Feb 08, 2025 at 13:59 UTC ( [id://11163953]=note: print w/replies, xml ) Need Help??


in reply to Any caveats in using unpack to right-trim? Why isn't it advertised more?

(Semi-)answering self: with s/\s+$// for "usual", it's now slightly faster than "better", -- my bad, so then no need to invent "better", I guess some optimizations kick in. But "unpack" is still twice as fast, and questions in the title remain.

  • Comment on Re: Any caveats in using unpack to right-trim? Why isn't it advertised more?
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2025-12-17 05:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (98 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.