pub fn size_raw(&self, include_nulls: bool) -> usize {
        let mut total_size = 0;
        for idx in &self.encoded_data {
            // the length of the string value encoded at the current row in the
            // column.
            total_size += match &self.entries[*idx as usize] {
                Some(s) => s.len(),
                None => 0,
            };

            if include_nulls || idx != &NULL_ID {
                total_size += size_of::<String>()
            }
        }
        total_size + size_of::<Vec<String>>()
    }
/// A reasonable estimation of the on-heap size of the underlying string
/// values in this column if they were stored uncompressed contiguously.
/// `include_nulls` determines whether to assign a pointer size to the null
/// values or not.
///
///
/// Perf: This runtime of this method is linear to the size of the column,
/// it should not be called in hot paths.
A reasonable estimation of the on-heap size of the underlying string
values in this column if they were stored uncompressed contiguously.
`include_nulls` determines whether to assign a pointer size to the null
values or not.

This runtime of this method is linear to the size of the column,
it should not be called in hot paths.
A reasonable estimation of the on - heap size of the underlying string values in this column if they were stored uncompressed contiguously . ` include_nulls ` determines whether to assign a pointer size to the null values or not . This runtime of this method is linear to the size of the column it should not be called in hot paths .
pub fn size_raw(&self, include_nulls: bool) -> usize {
        let mut total_size = 0;
        for idx in &self.encoded_data {
            // the length of the string value encoded at the current row in the
            // column.
            total_size += match &self.entries[*idx as usize] {
                Some(s) => s.len(),
                None => 0,
            };
            if include_nulls || idx != &NULL_ID {
                total_size += size_of::<String>()
            }
        }
        total_size + size_of::<Vec<String>>()
    }
pub fn size_raw ( & self , include_nulls : bool ) -> usize { let mut total_size = 0 ; for idx in & self . encoded_data { // the length of the string value encoded at the current row in the // column. total_size += match & self . entries [ * idx as usize ] { Some ( s ) => s . len ( ) , None => 0 , } ; if include_nulls || idx != & NULL_ID { total_size += size_of :: < String > ( ) } } total_size + size_of :: < Vec < String > > ( ) }
A reasonable estimation of the on-heap size of the underlying string
values in this column if they were stored uncompressed contiguously.
A reasonable estimation of the on - heap size of the underlying string values in this column if they were stored uncompressed contiguously .
&self
include_nulls
bool
&self
include_nulls
bool