mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-01-10 05:24:32 +01:00
Remove TODO and rely on the PR checklist
This commit is contained in:
parent
cdd6c34d67
commit
d2e628e3b5
@ -60,7 +60,6 @@ impl<'a> CompressedKvReaderU16<'a> {
|
|||||||
bump: &'b Bump,
|
bump: &'b Bump,
|
||||||
dictionary: &DecoderDictionary,
|
dictionary: &DecoderDictionary,
|
||||||
) -> io::Result<&'b KvReaderU16> {
|
) -> io::Result<&'b KvReaderU16> {
|
||||||
/// TODO use a better approach and stop cloning so much.
|
|
||||||
let mut buffer = Vec::new();
|
let mut buffer = Vec::new();
|
||||||
self.decompress_with(&mut buffer, dictionary)?;
|
self.decompress_with(&mut buffer, dictionary)?;
|
||||||
Ok(KvReaderU16::from_slice(bump.alloc_slice_copy(&buffer)))
|
Ok(KvReaderU16::from_slice(bump.alloc_slice_copy(&buffer)))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user