#5 Dynamically allocate codec buffer

Suljettu
1 vuosi sitten avasi scossu · 1 kommenttia
scossu kommentoitu 1 vuosi sitten

Currently the buffer size for decoding a term is determined at compile time (-DLSUP_RDF_STREAM_CHUNK_SIZE). It should be dynamically allocated to accommodate for any term size. See e.g. ParseIterator.buf and fill() for NT codec.

Currently the buffer size for decoding a term is determined at compile time (`-DLSUP_RDF_STREAM_CHUNK_SIZE`). It should be dynamically allocated to accommodate for any term size. See e.g. [`ParseIterator.buf`](https://git.knowledgetx.com/scossu/lsup_rdf/src/master/src/codec/lexer_nt.re#L14) and [`fill()`](https://git.knowledgetx.com/scossu/lsup_rdf/src/master/src/codec/lexer_nt.re#L30) for NT codec.
scossu kommentoitu 1 kuukausi sitten
Omistaja

Complicated, and maybe not necessary for now. Will reopen if the fixed size buffer becomes a problem.

Complicated, and maybe not necessary for now. Will reopen if the fixed size buffer becomes a problem.
Kirjaudu sisään osallistuaksesi tähän keskusteluun.
Ei merkkipaalua
Ei osoitettua
1 osallistujaa
Ladataan...
Peruuta
Tallenna
Sisältöä ei vielä ole.