in reply to Re^3: Is it possible to find the number of matching and non-matching positions in strings using perl code?
in thread Is it possible to find the number of matching and non-matching positions in strings using perl code?
Some CISC processors include string operators so the XOR might actually be a single instruction.
They still loop, just at the microcode level.
There is always a conditional test; address register(s) get incremented; and often a count register gets decremented; for some number of repetitions or until some condition is met. It's still a 'loop' by any standard.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Is it possible to find the number of matching and non-matching positions in strings using perl code?
by Jenda (Abbot) on May 11, 2012 at 17:13 UTC | |
by BrowserUk (Patriarch) on May 11, 2012 at 17:25 UTC |