Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ is_enabled
Method
is_enabled
crates/vm/src/gc_state.rs:201–203 ·
view source on GitHub ↗
Check if GC is enabled
(&self)
Source
from the content-addressed store, hash-verified
199
200
/// Check if GC is enabled
201
pub fn is_enabled(&self) -> bool {
202
self.enabled.load(Ordering::SeqCst)
203
}
204
205
/// Enable GC
206
pub fn enable(&self) {
Callers
8
test_is_enabled
Method · 0.80
test_loop_quicken
Method · 0.80
get_build_info
Function · 0.80
disable_faulthandler
Function · 0.80
__init__.py
File · 0.80
maybe_collect
Method · 0.80
collect_inner
Method · 0.80
isenabled
Function · 0.80
Calls
1
load
Method · 0.45
Tested by
2
test_is_enabled
Method · 0.64
test_loop_quicken
Method · 0.64