bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#68244: hash-table improvements


From: Basil L. Contovounesios
Subject: bug#68244: hash-table improvements
Date: Tue, 23 Jan 2024 10:44:49 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

João Távora [2024-01-22 09:17 +0000] wrote:

> Dine, I guess.

Pushed, and thanks!  I'll send you the receipt separately.

> But this is about a singleton hash table object right?

Yes, specifically an empty one.

> Will it work with Emacs 28 and 29 via GNU Elpa?

Should do:
$ for v in 24.5 25.3 26.3 27.2 28.2 29.1; do
    emacs-$v -Q -batch \
      -eval '(message "%.2s %s" emacs-version (make-hash-table :size 0))'
  done
24 #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8 data ())
25 #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8 data ())
26 #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data 
())
27 #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data 
())
28 #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data 
())
29 #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data 
())

-- 
Basil





reply via email to

[Prev in Thread] Current Thread [Next in Thread]