[PATCH] utf8 flag support on perl lib

Tomash Brechko tomash.brechko at gmail.com
Fri Jan 11 14:07:10 UTC 2008

On Fri, Jan 11, 2008 at 16:54:26 +0300, Tomash Brechko wrote:
> I'd love to coordinate F_COMPRESSED flag.  C::M and C::M::F currently
> use 0x2 (0x1 is F_STORABLE).

Thinking more about this, perhaps we may do the following.  As I
understand most client libraries do not export flags to the user, but
use them internally for bookkeeping.  There are 16/32 (which one?)
flag bits total.  We may separate this space into three classes:

 1 common, shared among all clients.  F_COMPRESSED goes here, and we
   additionally agree that the compression algorithm is deflate

 2 common to the language family.  F_STORABLE goes here got Perl

 3 common to the particular client family, i.e. private for internal
   client use.  Please put F_UTF8 here ;).

Class boundaries will be decided one and for all.  Class 1 will be
maintained by memcached maintainers.  Class 2 will be maintained by
the corresponding language community.  And class 3 is up to the client

   Tomash Brechko

More information about the memcached mailing list