Eliza
8e5dabfa8e
utils: split Slice into mutable and constant types ( #9276 )
...
* slice: fix memory semantics
* slice: prefer passing slice by value
This lets us do nice things like coercing Slice<T> to Slice<const T>, etc.
* slice: fix unit tests
* slice: fix copy/assignment, hash function
Don't attempt to define a copy constructor/assignment operator which would
convert a constant type to a mutable type.
Additionally, fix the hash function such that we're hashing U instead of const
U.
2025-10-01 22:40:50 +00:00
..
2025-05-06 17:41:21 +00:00
2025-05-06 17:41:21 +00:00
2024-01-26 10:58:00 -08:00
2024-01-26 10:58:00 -08:00
2021-08-12 16:55:12 -07:00
2025-01-21 16:16:09 -08:00
2025-09-15 08:50:02 -07:00
2021-08-12 16:55:12 -07:00
2023-05-24 21:35:38 -07:00
2021-08-12 16:55:12 -07:00
2025-10-01 14:54:34 -07:00
2025-01-21 16:16:09 -08:00
2025-01-21 16:16:09 -08:00
2025-08-06 22:22:40 +00:00
2025-05-13 11:32:45 -07:00
2025-04-23 09:23:21 -07:00
2021-08-12 16:55:12 -07:00
2022-08-16 14:55:46 -07:00
2024-01-26 10:58:00 -08:00
2025-09-25 13:57:53 -07:00
2021-08-12 16:55:12 -07:00
2025-04-23 09:23:21 -07:00
2022-06-03 08:35:57 -07:00
2024-01-26 10:58:00 -08:00
2024-01-26 10:58:00 -08:00
2025-10-01 22:40:50 +00:00
2025-05-29 09:56:52 -07:00
2025-08-09 00:03:56 +00:00
2025-05-13 11:32:45 -07:00
2025-05-29 09:56:52 -07:00
2021-10-07 20:58:34 -07:00
2025-06-11 10:08:52 -07:00
2024-10-17 14:15:40 -07:00
2022-08-16 14:55:46 -07:00
2025-01-17 17:50:16 -08:00
2025-06-11 10:08:52 -07:00
2025-09-02 11:47:58 -07:00
2023-06-02 08:42:27 -07:00
2022-03-22 16:14:13 -07:00
2024-01-26 10:58:00 -08:00
2025-01-17 17:50:16 -08:00
2025-05-29 09:56:52 -07:00
2024-01-26 10:58:00 -08:00
2025-05-29 09:56:52 -07:00
2025-09-30 11:45:51 -07:00
2025-05-29 09:56:52 -07:00
2025-10-01 22:40:50 +00:00
2024-06-05 11:00:06 -07:00
2025-05-13 11:32:45 -07:00
2025-10-01 14:53:51 -07:00
2024-01-26 10:58:00 -08:00
2024-01-26 10:58:00 -08:00
2025-05-29 09:56:52 -07:00
2025-05-14 20:51:57 -07:00
2022-01-18 11:37:26 -08:00
2022-03-01 10:03:31 -08:00
2021-08-12 16:55:12 -07:00
2021-02-17 10:11:22 -08:00
2022-02-22 18:06:53 -08:00
2024-08-05 10:59:46 -07:00
2024-01-26 10:58:00 -08:00