lutaml-model 0.8.72 → 0.8.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b25c7b3e06beee19bd00eeec495484f446a206aed30db2b247a6b493ddb417ae
|
|
4
|
+
data.tar.gz: 9a4870046688f1dd8076fcbd8bfd10e2a3cbb24a15608413be2b006d0209b7dc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 214c201878c903a3205368c89547f4ad22fb8b2e925b19420dda4e90db28dca9d26d66aa89d50b232ded8dc5258e92f95ff9088cebe9f93a0acf04df626a99a4
|
|
7
|
+
data.tar.gz: '06390a0d5f7df047f947931c9d1d4f96b970e2a0a890f1e356c10a8e3fbc10bcdc5bbf4d4c01ca5221757f0eac0b9ffae91aabf264368211e5ce18b490a45e65'
|
|
@@ -126,6 +126,9 @@ jobs:
|
|
|
126
126
|
${{ matrix.env_key }}: ${{ github.workspace }}/downstream
|
|
127
127
|
LUTAML_MODEL_DIR: ${{ github.workspace }}
|
|
128
128
|
BENCH_JSON: /tmp/bench_current_${{ matrix.downstream }}.json
|
|
129
|
+
# TODO.perf 17: corpus opt-out histogram in the job log —
|
|
130
|
+
# which clauses (if any) keep this corpus interpretive.
|
|
131
|
+
PLAN_COMPILE_STATS: "1"
|
|
129
132
|
run: |
|
|
130
133
|
cd downstream
|
|
131
134
|
ruby -e '
|
|
@@ -193,7 +193,11 @@ module Lutaml
|
|
|
193
193
|
#
|
|
194
194
|
# @return [Hash]
|
|
195
195
|
def children_to_hash
|
|
196
|
-
|
|
196
|
+
# Built in place: map+reduce(:merge) allocated the mapped
|
|
197
|
+
# array plus one merged hash per reduce step (TODO.perf 16).
|
|
198
|
+
h = {}
|
|
199
|
+
@children.each { |child| h.update(child.to_hash) }
|
|
200
|
+
h
|
|
197
201
|
end
|
|
198
202
|
|
|
199
203
|
# Convert children to Array
|
data/lib/lutaml/model/version.rb
CHANGED