hash-table-rehash-{size,threshold} - gcl.git - GNU Common Lisp

index : gcl.git
GNU Common Lisp
summary refs log tree commit diff
diff options
context:
space:
mode:
authorCamm Maguire <camm@debian.org>2014年09月16日 21:24:06 -0400
committerCamm Maguire <camm@debian.org>2014年09月17日 14:48:55 -0400
commit5b476693cfc35ad3e7ad69e5c7461c4594833ec5 (patch)
treece49aed40448c3d9392c456afe0fe03cfa48d73e
parentbee1efbe8487848e76fc6c306378c52fed20410a (diff)
downloadgcl-5b476693cfc35ad3e7ad69e5c7461c4594833ec5.tar.gz
hash-table-rehash-{size,threshold}
Diffstat
-rwxr-xr-xgcl/o/hash.d 12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcl/o/hash.d b/gcl/o/hash.d
index c87718ea7..4fcfd190b 100755
--- a/gcl/o/hash.d
+++ b/gcl/o/hash.d
@@ -520,6 +520,18 @@ DEFUN_NEW("HASH-TABLE-SIZE",object,fLhash_table_size,LISP,1,1,NONE,OO,OO,OO,OO,(
}
+DEFUN_NEW("HASH-TABLE-REHASH-SIZE",object,fLhash_table_rehash_size,LISP,1,1,NONE,OO,OO,OO,OO,(object table),"")
+{
+ check_type_hash_table(&table);
+ RETURN1(table->ht.ht_rhsize);
+}
+
+DEFUN_NEW("HASH-TABLE-REHASH-THRESHOLD",object,fLhash_table_rehash_threshold,LISP,1,1,NONE,OO,OO,OO,OO,(object table),"")
+{
+ check_type_hash_table(&table);
+ RETURN1(table->ht.ht_rhthresh);
+}
+
void
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月08日 16:02:12 +0000

AltStyle によって変換されたページ (->オリジナル) /