[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Better algorithm for growing hash tables
From: |
Alejandro Forero Cuervo |
Subject: |
Re: [Chicken-users] Better algorithm for growing hash tables |
Date: |
Fri, 29 Jul 2005 10:01:42 -0500 |
User-agent: |
Mutt/1.5.9i |
> > (use srfi-1)
> > (define hash (make-hash-table))
> > (for-each (lambda (n) (hash-table-set! hash hash n)) (iota 1000000))
Erm, I meant
(for-each (lambda (n) (hash-table-set! hash n #f)) (iota 1000000)) ,
of course.
Alejo.
http://azul.freaks-unidos.net/
---=( Comunidad de Usuarios de Software Libre en Colombia )=---
---=( http://bachue.com/colibri )=--=( address@hidden )=---
signature.asc
Description: Digital signature