[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,
- scratch/hash-table-perf 8cd35079f4c 34/35: Don't pretend that hash-table-size is useful, (continued)
- scratch/hash-table-perf 8cd35079f4c 34/35: Don't pretend that hash-table-size is useful, Mattias Engdegård, 2024/01/04
- scratch/hash-table-perf e6defe82569 27/35: Change default hash table size to 8 (from 65), Mattias Engdegård, 2024/01/04
- scratch/hash-table-perf 422c91a822a 02/35: ; * src/pdumper.c (dump_hash_table): Remove unused argument., Mattias Engdegård, 2024/01/04
- scratch/hash-table-perf 3d2042c48a6 07/35: Refactor: extract hash index computation to a function, Mattias Engdegård, 2024/01/04
- scratch/hash-table-perf c188b9f2bf5 08/35: Refactor hash table vector reallocation, Mattias Engdegård, 2024/01/04
- scratch/hash-table-perf 6ffbccbf1dd 15/35: Represent hash table weakness as an enum internally, Mattias Engdegård, 2024/01/04
- scratch/hash-table-perf 3e9e68333ae 16/35: Remove rehash-threshold and rehash-size struct members, Mattias Engdegård, 2024/01/04
- scratch/hash-table-perf 8e80d1930e3 20/35: Store hash values as EMACS_UINT instead of Lisp_Object, Mattias Engdegård, 2024/01/04
- scratch/hash-table-perf 05297736aa6 33/35: Adapt hash functions to produce a hash_hash_t eventually, Mattias Engdegård, 2024/01/04
- scratch/hash-table-perf 830838eb5f3 31/35: Use KEY=Qunbound instead of HASH=hash_unused for unused entries, Mattias Engdegård, 2024/01/04
- scratch/hash-table-perf 8b1b140bed9 32/35: * src/lisp.h (hash_hash_t): Change to uint32_t.,
Mattias Engdegård <=
- scratch/hash-table-perf 681a2877cc2 35/35: Hash-table documentation updates, Mattias Engdegård, 2024/01/04
- scratch/hash-table-perf d77c9540363 06/35: Refactor: extract hash computation to a function, Mattias Engdegård, 2024/01/04
- scratch/hash-table-perf e69035c6ef5 17/35: Leaner hash table dumping and thawing, Mattias Engdegård, 2024/01/04
- scratch/hash-table-perf 2d28042f56a 19/35: Use non-Lisp allocation for internal hash-table vectors, Mattias Engdegård, 2024/01/04
- scratch/hash-table-perf 1672d880e0c 29/35: Change hash_idx_t to int32_t on all platforms, Mattias Engdegård, 2024/01/04
- scratch/hash-table-perf 5cf627d70e1 30/35: Don't dump Qunbound, Mattias Engdegård, 2024/01/04
- scratch/hash-table-perf ad3d2f8ed88 25/35: Share hash table test structs, Mattias Engdegård, 2024/01/04
- scratch/hash-table-perf 41e37c978e6 28/35: Rework index size and resize factor computations, Mattias Engdegård, 2024/01/04