← Back to team overview

drizzle-discuss team mailing list archive

Re: drizzle - pbxt merge status

 

Hi!

On Nov 18, 2009, at 8:50 PM, Stewart Smith wrote:

> On Wed, Nov 18, 2009 at 07:51:04PM -0800, Brian Aker wrote:

> We're going to have to be really careful not to at all screw
> performance here... 

...

> memcpy() is probably the most expensive thing we can possibly do
> (apart from going to/from disk).


This is the gain of a Value object. Right now we copy from the engine into row[] and then back out to the socket. 

The idea of value is that we take directly from the engine, and send over the wire... so just one copy. That is pretty attractive :)

For blobs? We do a send file :)

Cheers,
	-Brian


References