references in objects

Cam Bazz cambazz at gmail.com
Fri Aug 10 08:13:00 UTC 2007


Hello,

Consider the following scenario where I have an object:

class Node {
   int id;
   Node next;
}

and I am storing these in memcached, such as:

Node n;
put(n.id, n);

when I get(int) a node, can I trace the reference next, without requiring a
map lookup?

Best Regards,
-C.B.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.danga.com/pipermail/memcached/attachments/20070810/b41aa44a/attachment.htm


More information about the memcached mailing list