Benchmarking new hashtables algorithms

2022-04-22 Thread Stefan Israelsson Tampe
Enjoy, http://itampe.com/association-performans-test.html

Re: hashtables

2022-04-06 Thread Dr. Arne Babenhauserheide
s in a vector?) > Let me know if you want to have this supported in guile as I have defined > some vm operations that are needed else this will be about 1.5 2x slower on > small hashtables. Since I do not know the implications of this on the VM, I cannot give an answer. If Andy Wingo d

hashtables

2022-04-06 Thread Stefan Israelsson Tampe
about 1.5 2x slower on small hashtables. Code: ;; This is the slow path where the bin is larger than 15 ;; elements (define (stis-d-ref v k default h eq) (let ((l (stis-b-alist-ref v h))) (let lp ((ll l)) (if (pair? ll) (let ((it (car ll))) (if (eq k (car it

Re: Ephemerons, self-referentality in weak hashtables

2021-09-08 Thread Christine Lemmer-Webber
Maxime Devos writes: > [[PGP Signed Part:Undecided]] > Christine Lemmer-Webber schreef op wo 08-09-2021 om 12:18 [-0400]: >> Maxime Devos writes: >> >> > [[PGP Signed Part:Undecided]] >> > Maxime Devos schreef op zo 20-06-2021 om 17:01 [+0200]: >> > > Christopher Lemmer Webber schreef op di 18-

Re: Ephemerons, self-referentality in weak hashtables

2021-09-08 Thread Maxime Devos
Christine Lemmer-Webber schreef op wo 08-09-2021 om 12:18 [-0400]: > Maxime Devos writes: > > > [[PGP Signed Part:Undecided]] > > Maxime Devos schreef op zo 20-06-2021 om 17:01 [+0200]: > > > Christopher Lemmer Webber schreef op di 18-05-2021 om 11:46 [-0400]: > > > > Hello, > > > > > > > > I'm

Re: Ephemerons, self-referentality in weak hashtables

2021-09-08 Thread Christine Lemmer-Webber
Maxime Devos writes: > [[PGP Signed Part:Undecided]] > Maxime Devos schreef op zo 20-06-2021 om 17:01 [+0200]: >> Christopher Lemmer Webber schreef op di 18-05-2021 om 11:46 [-0400]: >> > Hello, >> > >> > I'm finally taking some time to port Goblins to Guile, in-between other >> > tasks anyway.

Re: Ephemerons, self-referentality in weak hashtables

2021-06-21 Thread Maxime Devos
Maxime Devos schreef op zo 20-06-2021 om 17:01 [+0200]: > Christopher Lemmer Webber schreef op di 18-05-2021 om 11:46 [-0400]: > > Hello, > > > > I'm finally taking some time to port Goblins to Guile, in-between other > > tasks anyway. In Goblins there is a weak hashtable that maps current > > ac

Re: Ephemerons, self-referentality in weak hashtables

2021-06-20 Thread Maxime Devos
Christopher Lemmer Webber schreef op di 18-05-2021 om 11:46 [-0400]: > Hello, > > I'm finally taking some time to port Goblins to Guile, in-between other > tasks anyway. In Goblins there is a weak hashtable that maps current > actor references to their current behavior. I found that for > self-r

Ephemerons, self-referentality in weak hashtables

2021-05-18 Thread Christopher Lemmer Webber
Hello, I'm finally taking some time to port Goblins to Guile, in-between other tasks anyway. In Goblins there is a weak hashtable that maps current actor references to their current behavior. I found that for self-referential actors, I needed ephemerons for GC stuff to work right. In this old t