Garbage collector in ruby MRI

Hello,

I was looking over gc.c and I was somewhat curious about how often the
garbage_collect was invoked by the system. Is this done primarily
through
the ruby interface on demand by the programmer?

Regards,

Carter.

It’s done by the interpreter.

… primarily.