Re: [racket-users] unit of current-thread-initial-stack-size value

2017-09-03 Thread Matthew Flatt
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

Re: [racket-users] unit of current-thread-initial-stack-size value

2017-09-03 Thread Greg Hendershott
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

[racket-users] unit of current-thread-initial-stack-size value

2017-09-03 Thread Piyush Katariya
What is the unit of current-thread-initial-stack-size value ? Is it in KB ? what is recommended minimum value ? I did not find any page on Racket official doc to get this info so asking here. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To