3 million words are about 30 million characters. That is 30MB. We need an array and target string. Therefore we triple the memory usage, which is 90MB. For modern computers, that is not a big deal.
您的位置:
文學城 »
論壇 »
職場生涯 »
回複:This definitely works, but uses too much memory. I