Re: Network buffering question



"Scott McPhillips [MVP]" <org-dot-mvps-at-scottmcp> wrote in message
news:BpOdnTFWYtBFQmnZnZ2dnUVZ_vSdnZ2d@xxxxxxxxxxxxxx
Alex Fraser wrote:
I disagree with Scott's suggestion of a large circular buffer. It is
wasteful of memory and a long time ago I found it to have marginally
lower performance than a simpler approach, which goes something like
this:

Me too:) I suggested a large buffer, not a large circular buffer.

So you did. Sorry!

Alex


.



Relevant Pages

  • Re: How to give selective access to the methods in a class?
    ... different memory locations at different times. ... The reference still leads to the ... as the container doesn't hold the object itself. ... program pushes certain objects into the circular buffer, ...
    (comp.lang.java.programmer)
  • Re: 2 questions re: audio buffer
    ... Right now I'm talking about playing from memory. ... one ogg frame at a time, decoded, and stored the decompressed data in ... playback buffers fetched it's data from the circular buffer. ...
    (microsoft.public.win32.programmer.mmedia)
  • Re: 2 questions re: audio buffer
    ... Right now I'm talking about playing from memory. ... > one ogg frame at a time, decoded, and stored the decompressed data in ... > playback buffers fetched it's data from the circular buffer. ...
    (microsoft.public.win32.programmer.mmedia)
  • Re: C or C++ for large simulation?
    ... Does your allocation/deallocation ... Ah, so no circular buffer, just allocating without ever collecting ... memory and the active parts are not spread over many pages, ... Just for programs running short periods of time, ...
    (comp.lang.misc)