Room vs workspace


I notice that even after running the garbage collector, the rooom function reports a different number than what’s in front of the REPL prompt. Example:

991> (gc)
Space: 0 bytes, Time: 1587 us


991> (room)

i.e. 986 doesn’t equal 991. So, what does the 991 represent? The workspace size that I set myself was 992, to adjust for the 256 byte radio buffer that I created. Should I have set workspace to 986 instead?


The (room) function temporarily uses 5 objects in the workspace while you’re evaluating it - hence the discrepancy.