Files
redis/src
Moti Cohen c333dbd9a3 dictEntry and dictEntryNoValue common layout (#14264)
Refactor `dictEntryNoValue` to remove the need for a per-entry bit
(`ENTRY_PTR_NO_VALUE`) indicating the absence of a value. By aligning
`dictEntry` and `dictEntryNoValue` so that the key and next fields share
the same layout, we can reuse common code paths. This precious bit can
be leveraged for other stuff.

The trade-off is that callers must now be more careful not to call
`dictSetVal()` or `dictGetVal()` on dictionaries that only store keys,
since we can no longer catch this with an assertion. However, this
limitation is manageable.
2025-08-25 15:58:02 +03:00
..
2024-11-12 09:21:22 +02:00
2024-11-12 09:21:22 +02:00
2024-11-12 09:21:22 +02:00
2024-11-12 09:21:22 +02:00
2025-05-28 08:02:10 +03:00
2025-05-26 09:27:45 +03:00
2025-08-20 13:54:45 +03:00
2022-07-18 10:56:26 +03:00
2025-05-28 08:02:10 +03:00