Stephan, what do you mean by key?
Technically resource has data virtual method and theoretically data could be generated on each invocation of the method (but that must be the same data). So, yes, you could lookup data from some table if it's fine for you performance-wise. yours, anton. On Fri, Apr 23, 2010 at 1:04 PM, Stephan Beal <[email protected]> wrote: > On Thu, Apr 22, 2010 at 8:36 PM, Ryan Dahl <[email protected]> wrote: >> >> Maybe, but that doesn't solve the problem of associating encoded data >> with a string instance so that the next time the string is written to >> socket the encoded data is easily accessible. The benchmark I'm >> interested in fixing is the case where you write a large string many >> times to a socket. > > Perhaps this is a silly question: can the external strings be used to hold > only a key, which is then used later to do a lookup for the real data in a > central table? Or would that interfere with the normal string usage? > -- > ----- stephan beal > http://wanderinghorse.net/home/stephan/ > > -- > v8-users mailing list > [email protected] > http://groups.google.com/group/v8-users -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
