MCPcopy Index your code
hub / github.com/RustPython/RustPython / shrink_to_fit

Method shrink_to_fit

crates/wtf8/src/lib.rs:445–447  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

443
444 #[inline]
445 pub fn shrink_to_fit(&mut self) {
446 self.bytes.shrink_to_fit()
447 }
448
449 #[inline]
450 pub fn shrink_to(&mut self, min_capacity: usize) {

Callers 10

readMethod · 0.80
_decompress_chunksFunction · 0.80
compressMethod · 0.80
flushMethod · 0.80
extractMethod · 0.80
read1Method · 0.80
dedup_and_flatten_argsFunction · 0.80
extract_clonedFunction · 0.80
map_py_iterMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected