#5 Dynamically allocate codec buffer

Fechado
1 ano atrás foi aberto por scossu · 1 comentários
scossu comentado 1 ano atrás

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 comentado 1 mês atrás
Proprietário

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.
Faça login para participar desta conversação.
Sem milestone
Não atribuída
1 participantes
Carregando...
Cancelar
Salvar
Ainda não há conteúdo.