GNU bug report logs - #68244
hash-table improvements

Previous Next

Package: emacs;

Reported by: Mattias Engdegård <mattias.engdegard <at> gmail.com>

Date: Thu, 4 Jan 2024 16:29:02 UTC

Severity: wishlist

Full log


Message #127 received at 68244 <at> debbugs.gnu.org (full text, mbox):

From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
To: João Távora <joaotavora <at> gmail.com>
Cc: 68244 <at> debbugs.gnu.org
Subject: Re: bug#68244: hash-table improvements
Date: Tue, 23 Jan 2024 10:44:49 +0100
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




This bug report was last modified 1 year and 146 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.