LiamKarlMitchell / InfiniteSky

InfiniteSky is an open-source mmorpg project, It is written in Node.JS
GNU General Public License v3.0
33 stars 42 forks source link

Fix up Cached Buffer in Fruit Salad branch/dir. #189

Open LiamKarlMitchell opened 8 years ago

LiamKarlMitchell commented 8 years ago

It should not have this. variables all over the place those things are not accessed outside it so should just be var.

Only a few of the things need to persist / be on this.

LiamKarlMitchell commented 8 years ago

Also it might be better to have a fixed sized buffer rather than concat. Since that would need to allocate memory each time right?

przemyslawwalczak commented 8 years ago

Yeah some limit to the buffer would be nice. Concat still would be used since we are processing data of that.