emacs-diffs
[Top][All Lists]
Advanced

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

scratch/hash-table-perf 58559a83827 29/35: * src/lisp.h (hash_hash_t): C


From: Mattias Engdegård
Subject: scratch/hash-table-perf 58559a83827 29/35: * src/lisp.h (hash_hash_t): Change to uint32_t.
Date: Fri, 12 Jan 2024 10:53:26 -0500 (EST)

branch: scratch/hash-table-perf
commit 58559a83827df079d9b5196790021964783e6abb
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 e7808be538d..d35e758c4d9 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]