On May 28, 2007, at 17:45 , Ricardo Niederberger Cabral wrote:

3) In order to avoid keys with space characters on it, would it be a
bad idea to have all keys hashed (with Java's String.hashCode())
before being used on memcached ?

Yes, that's probably a very bad idea. You would have no way to detect or work around a collision. Just URL encode them if they'll end up having invalid characters (more than just space).

--
Dustin Sallings


Reply via email to