Return the combined size of all of the constant values in the pool.
(&self)
| 265 | |
| 266 | /// Return the combined size of all of the constant values in the pool. |
| 267 | pub fn byte_size(&self) -> usize { |
| 268 | self.handles_to_values.values().map(|c| c.len()).sum() |
| 269 | } |
| 270 | } |
| 271 | |
| 272 | #[cfg(test)] |