[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Modules for iconv (Was: UTF-8 patterns in Lua 5.3)
- From: Coroutines <coroutines@...>
- Date: Mon, 21 Apr 2014 20:17:57 -0700
On Mon, Apr 21, 2014 at 5:30 PM, William Ahern
<william@25thandclement.com> wrote:
> The C stack. Here's the luaL_Buffer definition:
>
> typedef struct luaL_Buffer {
> char *b; /* buffer address */
> size_t size; /* buffer size */
> size_t n; /* number of characters in buffer */
> lua_State *L;
> char initb[LUAL_BUFFERSIZE]; /* initial buffer */
> } luaL_Buffer;
>
>
ahh I see, so for strings larger than LUAL_BUFFERSIZE it fills the
initb and puts the rest in heap storage, then computes the hash for
pooling over both areas?
- References:
- Modules for iconv (Was: UTF-8 patterns in Lua 5.3), Dirk Laurie
- Re: Modules for iconv (Was: UTF-8 patterns in Lua 5.3), Sean Conner
- Re: Modules for iconv (Was: UTF-8 patterns in Lua 5.3), Dirk Laurie
- Re: Modules for iconv (Was: UTF-8 patterns in Lua 5.3), Sean Conner
- Re: Modules for iconv (Was: UTF-8 patterns in Lua 5.3), Dirk Laurie
- Re: Modules for iconv (Was: UTF-8 patterns in Lua 5.3), Sean Conner
- Re: Modules for iconv (Was: UTF-8 patterns in Lua 5.3), Coroutines
- Re: Modules for iconv (Was: UTF-8 patterns in Lua 5.3), Roberto Ierusalimschy
- Re: Modules for iconv (Was: UTF-8 patterns in Lua 5.3), Coroutines
- Re: Modules for iconv (Was: UTF-8 patterns in Lua 5.3), William Ahern