Yes, it's effectively in words (so 8 bytes on a 64-bit platform, 4
bytes on a 32-bit platform), since the count refers to Racket values
that are represented by pointers.
You can set the value to be a small as you want, since the stack is
grown as needed, but even the simplest program will need a d
Empirically it seems to be 8-byte words?
Unless I made a mistake:
#lang at-exp racket/base
(require racket/format)
(define (current-custodian-memory-use)
(for ([_ (in-range 3)]) (collect-garbage))
(current-memory-use (current-custodian)))
(define (f v)
(parame
2 matches
Mail list logo