#5 Dynamically allocate codec buffer

Ditutup
dibuka 1 tahun lalu oleh scossu · 1 komentar
scossu komentar 1 tahun lalu

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 komentar 1 bulan lalu
Pemilik

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.
Masuk untuk bergabung dalam percakapan ini.
Tidak ada tonggak
Tidak ada penerima
1 Peserta
Memuat...
Batal
Simpan
Belum ada konten.