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: 95182bda9669da0320508b55f43356fede1a292ce745cf3909f8f1caa9b07b42
4
- data.tar.gz: 9d28efcea7784103991d992e3e85a4fd4f00b8caf90ec3edf137bea4b2fdc768
3
+ metadata.gz: b25c7b3e06beee19bd00eeec495484f446a206aed30db2b247a6b493ddb417ae
4
+ data.tar.gz: 9a4870046688f1dd8076fcbd8bfd10e2a3cbb24a15608413be2b006d0209b7dc
5
5
  SHA512:
6
- metadata.gz: '03994dc9b1069fc2fdb00f41b2ee949a0a9b9f0845673847af0b5c2ffff9d63e6a6d72078f03938f65e657dbb27b8fe29e426c9f6764b7ee692f49ce5b9cd3af'
7
- data.tar.gz: 24f6867bb3851091561f98fbff70566f7734d58da18fa8ce2d9b220fb99d4a0ee87db1f497ce69278aa12462a7addb1e0bbccd726dfeb8e139aeb5c98c761c6d
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
- @children.map(&:to_hash).reduce({}, :merge)
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Lutaml
4
4
  module Model
5
- VERSION = "0.8.72"
5
+ VERSION = "0.8.73"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lutaml-model
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.72
4
+ version: 0.8.73
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.