MCPcopy Create free account
hub / github.com/aiscriptdev/aiscript / start_sweeping

Method start_sweeping

aiscript-arena/src/arena.rs:371–380  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

369 /// [`CollectionPhase::Sweeping`].
370 #[inline]
371 pub fn start_sweeping(self) {
372 unsafe {
373 self.0.context.do_collection(
374 &self.0.root,
375 f64::NEG_INFINITY,
376 Some(EarlyStop::AfterSweep),
377 );
378 }
379 assert_eq!(self.0.context.phase(), Phase::Sweep);
380 }
381}
382
383/// Create a temporary arena without a root object and perform the given operation on it.

Callers 1

interpretMethod · 0.80

Calls 1

do_collectionMethod · 0.80

Tested by

no test coverage detected