emacs-diffs
[Top][All Lists]
Advanced

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

scratch/hash-table-perf 8b1b140bed9 32/35: * src/lisp.h (hash_hash_t): C


From: Mattias Engdegård
Subject: scratch/hash-table-perf 8b1b140bed9 32/35: * src/lisp.h (hash_hash_t): Change to uint32_t.
Date: Thu, 4 Jan 2024 10:56:44 -0500 (EST)

branch: scratch/hash-table-perf
commit 8b1b140bed9c82c508d3dde075b44e2268a45814
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    * src/lisp.h (hash_hash_t): Change to uint32_t.
    
    This saves a lot of memory and is quite sufficient.
---
 src/lisp.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lisp.h b/src/lisp.h
index dc4d458a971..2bb08880c0b 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -2387,7 +2387,7 @@ struct Lisp_Hash_Table;
 
 /* The type of a hash value stored in the table.
    It's unsigned and a subtype of EMACS_UINT.  */
-typedef EMACS_UINT hash_hash_t;
+typedef uint32_t hash_hash_t;
 
 typedef enum {
   Test_eql,



reply via email to

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