RG <rNOSPA...@flownet.com> wrote:I do not deny that, have any references? The nice thing about lisp is I
> In article <4bd9afe9$0$9898$80265...@spool.cs.wisc.edu>,
> Peter Keller <psil...@merlin.cs.wisc.edu> wrote:
>> The context is that when writing a data array to a client, the buffer
>> management layer needs to wrap a header around the data before sending it.
>> I thought about not doing the wrapping at all--just write the small header
>> then the payload, but then that leads to alternating writes of a very
>> small amount of data and then a large amount of data. That oscillation
>> sucks from a network scheduling/bandwidth perspective. I need to write
>> as many bytes as I can as often as I can.
> Seems to me then that what you want is not a growable array but rather
can just go back into that layer and bash the code into something else
with relative ease.
>> I guess at this point, I'll just assemble the arrays naively and if theSpeaking of memcpy, in lisp what is the equivalent of memcpy? replace?
>> profiler tells me there is a problem there, I'll look into it deeper.
> That sounds like a fine plan. Premature optimization and all that.
Hrm... I should use that in a few places I stupidly wrote the byte copies
with a do loop.
Thanks for the oblique suggestsion. :)
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.