namo.rb 0.32.10 → 0.32.12
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 +4 -4
- data/CHANGELOG +17 -0
- data/lib/Namo/VERSION.rb +1 -1
- data/test/namo_test.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0b0447d1ba6224a3855a9fd546766ff83758e6e857b3377899386e23ac636871
|
|
4
|
+
data.tar.gz: 50e567acc7255c85336069f54ef5c52abe628a37d2fc9ce41cd280381c7c2cac
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d0f3a378f40350eb129a330d8787ac5136b2ece31d5d0393a113a730e0632fc1ef353d5a6f021ce61ab94ac0903a581115c1c61de67da48eabda039c0696ce22
|
|
7
|
+
data.tar.gz: c1557d964311bfbc3ed2eaa21cad54c2ea8b3a19c3abda6fa3f99a652381d0f694103a28ab83a41c761f6b255962f162273c205f16deeb29f091bd0933894ff1
|
data/CHANGELOG
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# namo/CHANGELOG
|
|
2
2
|
|
|
3
|
+
## 20261109
|
|
4
|
+
|
|
5
|
+
0.32.12: + RUBY_COMPARISON.md: Namo is compared with Daru, Rover, Polars-ruby, and RedAmber.
|
|
6
|
+
|
|
7
|
+
1. + RUBY_COMPARISON.md: Namo is compared with Daru 0.3, Rover 1.1.0, Polars-ruby 0.27.1, and RedAmber 0.5.2 on Ruby 4.0.7, feature by feature and in measured timings.
|
|
8
|
+
2. + comparison/ruby_claims.rb: Runs every snippet in RUBY_COMPARISON.md, in order, then the probes behind its claims.
|
|
9
|
+
3. + comparison/ruby_dataframes.rb: Times one workload in each library on generated data, having checked each answer against plain Ruby's.
|
|
10
|
+
4. ~ comparison/setup: Builds a ruby environment as well, with the gems over Apache Arrow's GLib libraries from conda-forge, which RedAmber needs, and a ruby to run them with. Red Arrow takes the installed Arrow's version, since the two must match.
|
|
11
|
+
5. ~ comparison/README.md: The two scripts and the ruby environment are described.
|
|
12
|
+
6. ~ COMPARISON.md: Points to RUBY_COMPARISON.md.
|
|
13
|
+
7. ~ Namo::VERSION: /0.32.11/0.32.12/
|
|
14
|
+
|
|
15
|
+
0.32.11: ~ test/namo_test.rb: The two tests added in 0.32.10 pass under minitest 6.1.
|
|
16
|
+
|
|
17
|
+
1. ~ test/namo_test.rb: The Hashes the two access-scope tests expect are in braces, since minitest 6.1.0 takes a Hash given to must_equal without them as keyword arguments, leaving the expected value nil.
|
|
18
|
+
2. ~ Namo::VERSION: /0.32.10/0.32.11/
|
|
19
|
+
|
|
3
20
|
## 20261103
|
|
4
21
|
|
|
5
22
|
0.32.10: ~ Namo#materialising: A frozen Namo can be read again, and two threads reading one Namo no longer share a scope.
|
data/lib/Namo/VERSION.rb
CHANGED
data/test/namo_test.rb
CHANGED
|
@@ -322,7 +322,7 @@ describe Namo do
|
|
|
322
322
|
namo[:agg] = proc{|row, namo| namo.values(:base).first}
|
|
323
323
|
# :agg's formula calls values(:base) mid-materialisation; that nested call must
|
|
324
324
|
# reuse the open scope, not reset it, so the :x column that follows still builds.
|
|
325
|
-
_(namo.values(:agg, :x)).must_equal(agg: [2, 2, 2], x: [1, 2, 3])
|
|
325
|
+
_(namo.values(:agg, :x)).must_equal({agg: [2, 2, 2], x: [1, 2, 3]})
|
|
326
326
|
_(calls).must_equal 3
|
|
327
327
|
end
|
|
328
328
|
|
|
@@ -346,7 +346,7 @@ describe Namo do
|
|
|
346
346
|
namo[:reader] = proc{|row| released << true; holder.join; row[:n]}
|
|
347
347
|
holder = Thread.new{namo.values(:held)}
|
|
348
348
|
entered.pop
|
|
349
|
-
_(namo.values(:reader, :n)).must_equal(reader: [1], n: [1])
|
|
349
|
+
_(namo.values(:reader, :n)).must_equal({reader: [1], n: [1]})
|
|
350
350
|
_(holder.value).must_equal [1]
|
|
351
351
|
end
|
|
352
352
|
end
|