diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-10-18 19:02:12 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-10-18 19:02:12 -0700 |
commit | ed919ff8f5353a0e740bf82c7088e4b6246f99ea (patch) | |
tree | dc156b23aab94d5fd4810afd1601267a7d43de1f /mpi/mpi.c | |
parent | 2154663a0a553385171c08674a009c6f64e62cd5 (diff) | |
download | txr-ed919ff8f5353a0e740bf82c7088e4b6246f99ea.tar.gz txr-ed919ff8f5353a0e740bf82c7088e4b6246f99ea.tar.bz2 txr-ed919ff8f5353a0e740bf82c7088e4b6246f99ea.zip |
hash: get rid of hash_str_limit.
hash.c (hash_str_limit): Variable removed.
(hash_c_str): Take count parameter. Observe the limit and update it.
The count is scaled by 4 for strings: four characters for one
count.
(hash_buf): Likewise.
(equal_hash): Pass count to hash_c_str and hash_buf. Use the
count to determine how far to force a lazy string for hashing.
(set_hash_str_limit): Static function removed.
(hash_init): Removed sys:set-hash-str-limit intrinsic. This
was used in genman.txr once, but that use was removed a year
and a half ago.
Diffstat (limited to 'mpi/mpi.c')
0 files changed, 0 insertions, 0 deletions