keys with spaces in

Jamie McCarthy jamie@mccarthy.vg
Wed, 29 Oct 2003 13:11:11 -0500


rtdean-lists-memcache@cytherianage.net (Ryan T. Dean) writes:

> > To check things out; I added a str_replace to strip spaces
> > from keys into the 0.1.1 API ... on my site, it slowed the
> > memcached system down about 4%... a pretty big speed hit just
> > to catch programmer mistakes.
> 
> I'd have to agree.  I think it should be up to the programmer
> to use keys without spaces.

That needs to be documented, then.  I suggest this line after the
current pod entry for set():

Whitespace is not allowed in keys!  (It is allowed in values of course.)
-- 
  Jamie McCarthy
 http://mccarthy.vg/
  jamie@mccarthy.vg