Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/aiscriptdev/aiscript
/ code_size
Method
code_size
aiscript-vm/src/chunk.rs:189–191 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
187
}
188
189
pub fn code_size(&self) -> usize {
190
self.code.len()
191
}
192
193
pub fn write_code(&mut self, code: OpCode, line: u32) {
194
self.write_byte(code, line);
Callers
4
generate_stmt
Method · 0.80
emit_jump
Method · 0.80
patch_jump
Method · 0.80
emit_loop
Method · 0.80
Calls
1
len
Method · 0.80
Tested by
no test coverage detected