diff options
author | Mark H Weaver <mhw@netris.org> | 2014-01-11 10:18:40 -0500 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2014-01-12 02:57:41 -0500 |
commit | cc1cd04f8111c306cf48b93e131d5c1765c808a3 (patch) | |
tree | ddec0e3eef9b29c9aa4b3f306127c8bfa52c61a8 /doc/ref/api-data.texi | |
parent | 0e18163366c2f2a0caecde18241dbd7987b4db7c (diff) | |
download | guile-cc1cd04f8111c306cf48b93e131d5c1765c808a3.tar.gz |
Fix hashing of vectors to run in bounded time.
* libguile/hash.c (SCM_MIN): New macro.
(scm_hasher): In vector case, do nothing if d is 0. Make sure to
recurse with a reduced d. Move the loop out of the 'if'.
Diffstat (limited to 'doc/ref/api-data.texi')
0 files changed, 0 insertions, 0 deletions