diff options
author | Paul Masurel <paul.masurel@gmail.com> | 2016-11-26 13:13:33 +0900 |
---|---|---|
committer | Paul Masurel <paul.masurel@gmail.com> | 2016-11-26 13:13:33 +0900 |
commit | 121a20950bb8aa190ff6d8f4689b9652704513e6 (patch) | |
tree | c8bda05c43806c75392dcee3942934795b74be88 /src/fastfield/serializer.rs | |
parent | 044880ea9bcec39a547e259b6285a1cfab0c4567 (diff) |
issue/55 Fixed readme and remove the comments.
Diffstat (limited to 'src/fastfield/serializer.rs')
-rw-r--r-- | src/fastfield/serializer.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/fastfield/serializer.rs b/src/fastfield/serializer.rs index a153a1b..fef738f 100644 --- a/src/fastfield/serializer.rs +++ b/src/fastfield/serializer.rs @@ -64,13 +64,6 @@ impl FastFieldSerializer { self.written_size += try!(amplitude.serialize(write)); let num_bits = compute_num_bits(amplitude); self.bit_packer = BitPacker::new(num_bits as usize); - // TODO inspect whether it is required - // if num_bits == 0 { - // // if num_bits == 0 we make sure that we still write one mini buffer - // // so that the reader code does not overflows and does not - // // contain a needless if statement. - // self.mini_buffer_written += 1; - // } Ok(()) } |