hypertabular-wasm 0.8.0 → 0.9.0

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: 4a62269d6431434e34e85f29cb3ea722dc84d5a5abd8b93e9f71e5a0e5bbd222
4
- data.tar.gz: 6a6e35c0e8f8181c20c8ce355b4e9cd0e0f1795c35d7d65efab96c7dda1ee6bf
3
+ metadata.gz: 5640b48d2db902a13bddf2b875eca7ca06f3d2fa0a318414c1ce166db2c5d365
4
+ data.tar.gz: f5bced5d2e07a2da961f749a94cfb96cf6023fcd58325095dc8efd06dabe1b7b
5
5
  SHA512:
6
- metadata.gz: f7a06ad2c9c9cf24c954a92027d4556afb360c89528153150d674f85611c967d33ba11301d2c73621fb72f66b4c8d07f10ab1697f15999b32b60aaab0bac4a42
7
- data.tar.gz: c87a1c618e31dc8ada77f00958aa09f0ddbade137a14cc20b3383ea97c2b1925b9e5603f55d9b2463d83658736e16457113b12a81ac4e33b0685801e8c4d2a1a
6
+ metadata.gz: ab47d6aaecbb62db8d315e0ea26b5bf87e52758235427df25923dc9d20a5cbab902f80a5e7fbff59bad525b8ff593698cc1e8972b2a6d44668693852ea007cee
7
+ data.tar.gz: 4a67aa99cc3957a732df52578da3e14390424744389ad91c8baa065020bc9ebc074860f8f2529e495bc4e067d95c01c8b35567049bd93203b169aea9255df861
@@ -149,10 +149,10 @@ module HyperTabular
149
149
  Column::VALUE_BYTES.fetch(door)
150
150
  end
151
151
 
152
- # The 44 little-endian bytes of the core's ColumnSpec: ordinal, door code, what the
152
+ # The 104 little-endian bytes of the core's ColumnSpec: ordinal, door code, what the
153
153
  # door declares (numbered as HyperCast numbers it), then the notation in HyperCast's
154
- # own packed form — all zeros, which the core reads as invariant, for a door that
155
- # reads none.
154
+ # own packed form (its 92-byte size-tagged layout) — all zeros, which the core reads
155
+ # as invariant, for a door that reads none.
156
156
  def packed
157
157
  param = declared.nil? ? 0 : Column::DECLARES.fetch(door).fetch(declared)
158
158
  [ordinal, DOORS.fetch(door), param].pack("L<3") + (format.nil? ? Column::NO_FORMAT : format.packed)
@@ -177,6 +177,6 @@ module HyperTabular
177
177
  # HyperCast's for its doors, and a text cell's span — two u32s — for this one's.
178
178
  Column::VALUE_BYTES = HyperCast::Interop::VALUE_BYTES.merge(text: 8).freeze
179
179
 
180
- # The notation of a door that reads none: thirty-two zero bytes.
181
- Column::NO_FORMAT = ("\0" * 32).b.freeze
180
+ # The notation of a door that reads none: ninety-two zero bytes, a size of zero.
181
+ Column::NO_FORMAT = ("\0" * HyperCast::NumFormat::PACKED_BYTES).b.freeze
182
182
  end
@@ -7,8 +7,9 @@ module HyperTabular
7
7
  class Columns
8
8
  # Bytes in one verdict (CellVerdict: offset, len, reason — three u32).
9
9
  VERDICT_BYTES = 12
10
- # ColumnSpec: ordinal, door, param, then HyperCast's 32-byte RawNumFormat.
11
- SPEC_BYTES = 44
10
+ # ColumnSpec: ordinal, door, param, then HyperCast's 92-byte size-tagged RawNumFormat
11
+ # (HyperCast::NumFormat::PACKED_BYTES).
12
+ SPEC_BYTES = 12 + HyperCast::NumFormat::PACKED_BYTES
12
13
 
13
14
  # The packed specs (nil for no columns), the ColumnBuffer table (likewise), how many
14
15
  # columns there are, and the most rows a batch holds.
data/lib/hypertabular.rb CHANGED
@@ -38,7 +38,7 @@ require_relative "hypertabular/runtime/workbook"
38
38
  module HyperTabular
39
39
  # This gem's own version — kept in lockstep with hypertabular.gemspec and the core's
40
40
  # rust/Cargo.toml.
41
- VERSION = "0.8.0"
41
+ VERSION = "0.9.0"
42
42
 
43
43
  class << self
44
44
  # Whether the native core loaded and exports the ABI this binding was built against.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hypertabular-wasm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Buvinghausen
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: 0.8.0
18
+ version: 0.9.0
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: 0.8.0
25
+ version: 0.9.0
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: rake
28
28
  requirement: !ruby/object:Gem::Requirement