[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Speed of Lua's immutable strings vs buffers (split from Re: Pooling of strings is good)
- From: Coroutines <coroutines@...>
- Date: Tue, 26 Aug 2014 17:24:10 -0700
On Tue, Aug 26, 2014 at 5:02 PM, Sean Conner <sean@conman.org> wrote:
> Check out str_byte() in lstrlib.c of Lua. I copied that routine.
Oh I see, I misread: lua_pushinteger(L,(unsigned char)buf->buf[posi+i-1]);
I thought it said: buf->buf[buf->idx + i - 1] (my bad)
> Have you tried the other network stacks? Or are you testing the buffer
> code alone?
My socket library is on github, but my computer does not have git
(lol). I'm actually between computers because I'm awaiting the
arrival of a Dell XPS 11 on Friday. So far I've just been reading and
theorizing your code...
- References:
- Re: Pooling of strings is good, Coroutines
- Re: Pooling of strings is good, Axel Kittenberger
- Re: Pooling of strings is good, Coroutines
- Re: Pooling of strings is good, Roberto Ierusalimschy
- Re: Pooling of strings is good, Coroutines
- Speed of Lua's immutable strings vs buffers (split from Re: Pooling of strings is good), Sean Conner
- Re: Speed of Lua's immutable strings vs buffers (split from Re: Pooling of strings is good), Coroutines
- Re: Speed of Lua's immutable strings vs buffers (split from Re: Pooling of strings is good), Coroutines
- Re: Speed of Lua's immutable strings vs buffers (split from Re: Pooling of strings is good), Sean Conner
- Re: Speed of Lua's immutable strings vs buffers (split from Re: Pooling of strings is good), Coroutines
- Re: Speed of Lua's immutable strings vs buffers (split from Re: Pooling of strings is good), Sean Conner