#5 Dynamically allocate codec buffer

Slēgta
scossu atvēra 1 gadu atpakaļ · 1 komentāri
scossu komentēja 1 gadu atpakaļ

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 komentēja 1 mēnesi atpakaļ
Īpašnieks

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.
Pierakstieties, lai pievienotos šai sarunai.
Nav atskaites punktu
Nav atbildīgā
1 dalībnieki
Notiek ielāde...
Atcelt
Saglabāt
Vēl nav satura.