<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Good call on just using the memory address as the&nbsp;identifier,&nbsp;forgot about that. &nbsp;Where is the binary server patches svn located at? I am not too&nbsp;familiar&nbsp;with text protocol but I'll give it a shot. Do we have any C clients for the binary protocol yet?<br><div contenteditable="false"> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><br class="Apple-interchange-newline"><div><br class="khtml-block-placeholder"></div><div>Chris Goffinet</div><div><a href="mailto:goffinet@yahoo-inc.com">goffinet@yahoo-inc.com</a></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span> </div><br><div><div>On Sep 8, 2007, at 1:28 AM, Dustin Sallings wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><br><div><div>On Sep 8, 2007, at 1:16, Chris Goffinet wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>Does "gets" only assign when called at that point the 64 bit&nbsp;unique&nbsp;value, or are you setting every object that is cache a unique identifier?</div></span></blockquote><div><br class="khtml-block-placeholder"></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>I guess there's no real need to define that.&nbsp; I went with 64-bits because I figured we could just the memory address as the identifier.&nbsp; That seemed like a pretty safe bet.</div><div><br class="khtml-block-placeholder"></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>Objects could theoretically be moved by a smart allocator, but the value only has value between a gets and a cas.&nbsp; The worst thing that could happen there is a CAS fails spuriously.</div><br><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>Is your prototype in python or patched diff against trunk?&nbsp;<br class="Apple-interchange-newline"></div></span></blockquote><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>I prototyped it in my python binary server.&nbsp; It's pretty good for trying out this kind of thing.</div><div><br class="khtml-block-placeholder"></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>I could do the same thing in the main server pretty quickly against my binary server patches, but a text protocol version might be a bit tougher (not as familiar with that code).</div><br><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--&nbsp;</div><div>Dustin Sallings</div><br class="Apple-interchange-newline"></span> </div><br></div></blockquote></div><br></body></html>