Re: marking overhead, and on the cost of conditionals in hot code

2009-01-17 Thread Ludovic Courtès
Hello! Andy Wingo wi...@pobox.com writes: I dropped into cachegrind, and it tells me thing about scm_gc_mark in a simple guile -c 1 run: . void . scm_gc_mark (SCM ptr) 794,344 { 155,170 = ???:0x00024917 (77585x) 198,586if (SCM_IMP (ptr)) . return; .

Re: marking overhead, and on the cost of conditionals in hot code

2009-01-17 Thread Ludovic Courtès
Neil Jerram neiljer...@googlemail.com writes: It seems like a lot of things are starting to depend on whether or not we move to BDW-GC. (This, the fix I just did for NetBSD, scm_init_guile, forthcoming work on threads and mutex locking inconsistencies, ...) We should aim to reach a

marking overhead, and on the cost of conditionals in hot code

2009-01-16 Thread Andy Wingo
I dropped into cachegrind, and it tells me thing about scm_gc_mark in a simple guile -c 1 run: . void . scm_gc_mark (SCM ptr) 794,344 { 155,170 = ???:0x00024917 (77585x) 198,586if (SCM_IMP (ptr)) . return; . 513,038if (SCM_GC_MARK_P (ptr)) .