Commit 8c34d08
committed
Skip
This brings performance improvements of around 1.4-1.9x according to my
benchmarks. `Hashify.[]` is already part of the implementation of
`.to_h` for a `Dry::Struct`.
Also makes it explocit that we are checking here for a `Dry::Struct`,
not a `Struct` from stdlib.transform_values when dealing with a Dry::Struct1 parent 0951b92 commit 8c34d08
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
0 commit comments