Open GoogleCodeExporter opened 9 years ago
I see some way to do that, but a quick metric give me for a 1500 bytes packet
something around 10K for the associated JavaScript array and it's over head.
Things will grow quickly.
So I need to understand why you need this kind of feature ?
If it's for reducing load on server or simplifying server code, look at
Eet_Connection.
Original comment by moa.blue...@gmail.com
on 9 Jun 2010 at 2:10
My first concern was about performances, as I guess accessing an element from a
(non-associative) array is quicker than extracting a character code from a
string (especially if strings are encoded internally with something else than
Unicode). Now that I've started working on my Elixir projects for a few weeks,
I realize that my games won't use the network connections intensively, so it
will probably not be a problem for me. But maybe it will be worth for other
developers to be able to choose to use (much) more memory to store the network
messages if it improves their games performances ?
Also, with C syntax languages, it's more intuitive to access elements of a
buffer using brackets than using characters manipulations methods. But as
developers will probably build there own wrappers around those methods in order
to extract 8-bits, 16-bits and 32-bits words anyway, that point is probably not
a big issue.
Original comment by Poor.NewBie@gmail.com
on 12 Jun 2010 at 10:37
Original issue reported on code.google.com by
Poor.NewBie@gmail.com
on 27 May 2010 at 12:48