Holding a 5MB string in memory is hardly onerous.
The problem is entirely down to creating a huge list of scalars each containing a single character in order to count those characters.
In reply to Re^4: Out of Memory
by BrowserUk
in thread Out of Memory
by Michael Kittrell
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |