File tree Expand file tree Collapse file tree
crates/geo_filters/src/diff_count Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -189,7 +189,6 @@ impl BitVec<'_> {
189189
190190 // First serialize the number of unoccupied bits in the last block as one byte.
191191 let unoccupied_bits = 63 - ( ( self . num_bits - 1 ) % 64 ) as u8 ;
192-
193192 writer. write_all ( & [ unoccupied_bits] ) ?;
194193
195194 let blocks = self . blocks . deref ( ) ;
Original file line number Diff line number Diff line change 55//! to the usual "network endian" approach where big endian is the default, but most of our
66//! consumers are little endian so it makes sense for this to be the optimal approach.
77//!
8- //! We still need to support big endian platforms though, but they get a less efficient path.
8+ //! For now we do not support big endian platforms. In the future we might add a big endian
9+ //! platform specific implementation which is able to read the little endian serialized
10+ //! representation. For now, if you attempt to serialize a filter on a big endian platform
11+ //! you get a panic.
12+
913use std:: { borrow:: Cow , ops:: Deref as _} ;
1014
1115use crate :: { config:: GeoConfig , Diff } ;
You can’t perform that action at this time.
0 commit comments