Re: [Chicken-hackers] [PATCH] More efficient numbers integration through scratchspace

2015-04-21 Thread Peter Bex
On Tue, Apr 21, 2015 at 09:47:50AM -0400, co...@ccil.org wrote: Peter Bex scripsit: That's right. That's why I described it as an extension of the nursery: it isn't actually stored on the stack, So it could be allocated in the heap or simply as a global array. Since there is only one

Re: [Chicken-hackers] Any thoughts on performance woes?

2015-04-21 Thread Mario Domenech Goulart
Hi, On Tue, 7 Apr 2015 11:32:39 +0200 Peter Bex pe...@more-magic.net wrote: If anyone wants to add it to the chicken-benchmark repo, I would recommend removing the writing of the output file, as that's really not where the bottleneck is, and writing a file isn't very nice in a benchmark

Re: [Chicken-hackers] [PATCH][5] Minor cleanup patches

2015-04-21 Thread Felix Winkelmann
Two very simple cleanup patches. Thanks - signed off and pushed. felix ___ Chicken-hackers mailing list Chicken-hackers@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-hackers

Re: [Chicken-hackers] [PATCH] More efficient numbers integration through scratchspace

2015-04-21 Thread Felix Winkelmann
The scratch area is seen as an extension of the nursery: the C_demand() and C_stack_probe() checks will add the size of the scratch space to the stack's size, and trigger a minor GC when the sum of the two exceeds the maximum nursery size. So this is just a heuristic, as the data in

Re: [Chicken-hackers] [PATCH] More efficient numbers integration through scratchspace

2015-04-21 Thread cowan
Peter Bex scripsit: That's right. That's why I described it as an extension of the nursery: it isn't actually stored on the stack, So it could be allocated in the heap or simply as a global array. Since there is only one at a time, and its size is fixed, a global array would make sense to me,

Re: [Chicken-hackers] [PATCH] More efficient numbers integration through scratchspace

2015-04-21 Thread Peter Bex
On Tue, Apr 21, 2015 at 12:11:18PM +0200, Felix Winkelmann wrote: The scratch area is seen as an extension of the nursery: the C_demand() and C_stack_probe() checks will add the size of the scratch space to the stack's size, and trigger a minor GC when the sum of the two exceeds the