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