Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aiscriptdev/aiscript
/ shrink_to_fit
Method
shrink_to_fit
aiscript-vm/src/chunk.rs:180–183 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
178
}
179
180
pub fn shrink_to_fit(&mut self) {
181
self.code.shrink_to_fit();
182
self.constans.shrink_to_fit();
183
}
184
185
pub fn line(&self, offset: usize) -> u32 {
186
self.lines[offset]
Callers
2
generate_lambda
Method · 0.45
generate_function
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected