Brian Aker wrote: > Hi! > > On Aug 3, 2008, at 10:59 PM, Mats Kindahl wrote: > >> Although I don't disagree, what do you consider as an alternative to the >> THD for keeping session data around? > > THD is pretty much session data now (especially since it is no longer > tied thread). > > The biggest problem I now see with it is getting it properly encapsulated.
Maybe we should call it Session in that case? :) It might seem like nitpicking, but names of entities is a guide to what they represent, and the THD object has more or less become a general bucket for all kinds of pieces, small as well as large. A name change would probably focus the work to producing a proper Session object instead of a "catch-all" class. Also, last time I checked it was around 4K large: I wouldn't mind participating in producing a proper Session object with a significantly smaller size (especially check the number of bool fields in the object, each bool wastes at least 7 bits of data since at least a char has to be allocated for it in the structure). Just my few cents, Mats Kindahl > > Cheers, > -Brian > > -- > _______________________________________________________ > Brian "Krow" Aker, brian at tangent.org > Seattle, Washington > http://krow.net/ <-- Me > http://tangent.org/ <-- Software > _______________________________________________________ > You can't grep a dead tree. > > > -- Mats Kindahl Lead Software Developer Replication Team MySQL AB, www.mysql.com
begin:vcard fn:Mats Kindahl n:Kindahl;Mats org:Sun Microsystems adr;quoted-printable:;;Tegv=C3=A4gen 3;Storvreta;SE;74334;Sweden email;internet:[EMAIL PROTECTED] title:Lead Replication Software Developer x-mozilla-html:FALSE version:2.1 end:vcard
_______________________________________________ Mailing list: https://launchpad.net/~drizzle-discuss Post to : [email protected] Unsubscribe : https://launchpad.net/~drizzle-discuss More help : https://help.launchpad.net/ListHelp

