in reply to Re^5: Determining uniqueness in a string.
in thread Determining uniqueness in a string.
Hmm. If I was looking for ways to make the problem harder, then I'd consider the possibility that the digits might be Unicode before I considered EBCDIC. There are probably more machines running Unicode right now, today, than have ever used EBCDIC.
Of course, if you happen to have one of those few EBCDIC machines lying around, it would probably solve the problem more quickly than several hundred of the average Unicode boxes put together, but that's another story.
One thing you wouldn't have to worry about on the average EBCDIC machine is a trifling 350MB of ram, at which point the big hash becomes the KISS solution. It certainly negates the character set problem.
|
|---|