changelog: document hash changes (#17792)
* changelog: document hash changes * fixup
This commit is contained in:
parent
ad67bcf379
commit
6852d091b3
1 changed files with 3 additions and 3 deletions
|
|
@ -50,6 +50,9 @@
|
||||||
- On POSIX systems, we now ignore `SIGPIPE` signals, use `-d:nimLegacySigpipeHandler`
|
- On POSIX systems, we now ignore `SIGPIPE` signals, use `-d:nimLegacySigpipeHandler`
|
||||||
for previous behavior.
|
for previous behavior.
|
||||||
|
|
||||||
|
- `hashes.hash` now supports `object` and `ref` (can be overloaded in user code).
|
||||||
|
- `hashes.hash(proc|ptr|ref|pointer)` now calls `hash(int)` and honors `-d:nimIntHash1`,
|
||||||
|
`hashes.hash(closure)` has also been improved.
|
||||||
|
|
||||||
## Standard library additions and changes
|
## Standard library additions and changes
|
||||||
- Added support for parenthesized expressions in `strformat`
|
- Added support for parenthesized expressions in `strformat`
|
||||||
|
|
@ -235,12 +238,9 @@
|
||||||
level `moveMem`, `copyMem` operations for Orc's copy-on-write string
|
level `moveMem`, `copyMem` operations for Orc's copy-on-write string
|
||||||
implementation.
|
implementation.
|
||||||
|
|
||||||
- `hashes.hash` now supports `object`, but can be overloaded.
|
|
||||||
|
|
||||||
- Added `std/strbasics` for high performance string operations.
|
- Added `std/strbasics` for high performance string operations.
|
||||||
Added `strip`, `setSlice`, `add(a: var string, b: openArray[char])`.
|
Added `strip`, `setSlice`, `add(a: var string, b: openArray[char])`.
|
||||||
|
|
||||||
- `hashes.hash` now supports `object`, but can be overloaded.
|
|
||||||
|
|
||||||
- Added to `wrapnils` an option-like API via `??.`, `isSome`, `get`.
|
- Added to `wrapnils` an option-like API via `??.`, `isSome`, `get`.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue