diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2012-03-31 22:41:45 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2012-03-31 22:41:45 -0700 |
commit | 34d0567bce45cc89fc6f476353b00b2649bcce4d (patch) | |
tree | 73def2f997ff1e865b8920dfb6ad5ff49a09394c /utf8.h | |
parent | 13a861377a55a77d2ad2072fd700b720aa71d4d0 (diff) | |
download | txr-34d0567bce45cc89fc6f476353b00b2649bcce4d.tar.gz txr-34d0567bce45cc89fc6f476353b00b2649bcce4d.tar.bz2 txr-34d0567bce45cc89fc6f476353b00b2649bcce4d.zip |
* hash.c (last_equal_key, last_equal_hash): New static variables.
(equal_hash): Caching optimization implemented.
(eql_hash): Optimization extended to those objects that have
equal semantics.
(hash_process_weak): Clear the cached hash during gc.
Diffstat (limited to 'utf8.h')
0 files changed, 0 insertions, 0 deletions