"clebert.suconic(a)jboss.com" wrote :
| I have once played with changing how the buffers are created on JBM 2, and I'm
sure we don't need auto-expanding buffers.
|
| When we send a message, we could verify the getEncodeSize(), and pre-allocate the
buffers at the exact size necessary to send them. It shouldn't be too difficult of
doing that.
|
| So, if you (Trustin) are having issues with the auto-expanding buffer, I'm pretty
sure we can get rid of that. (At least on sending.. I'm not sure how the buffers are
created on reading).
Yes indeed. Especially with Andy's latest changes there should be no need for auto
expanding buffers.
Also we should be able to get rid of the cumulative protocol decoder stuff since we can
just maintain a list of buffers, instead of munging them into one.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171433#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...