Any way you could share a code example? Or at least pseudo code for the technique?
Peter -----Original Message----- From: IBM Mainframe Assembler List [mailto:[email protected]] On Behalf Of Ed Jaffe Sent: Thursday, June 14, 2018 3:34 PM To: [email protected] Subject: Re: Count Words? BY FAR the fastest way HANDS DOWN -- if you're looking for 16 or fewer characters -- is with the vector instructions... On 6/14/2018 12:18 PM, Paul Gilmartin wrote: > Is there a modern, clever, efficient way to count words in a string where: > o A separator is <TAB> or <SP> (+ others ad lib.) o A word is a > maximal non-empty sequence of consecutive non-separator characters. > (Whew!) > > Do TRT and CLI remain the best primitives? (TRT is reported to > perform badly, perhaps model-dependent.) > > Yah, I know: "The compiler knows best!" -- This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system.
