immutable 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +0 -9
- data/benchmark/benchmark_deque.rb +59 -0
- data/benchmark/benchmark_map.rb +5 -5
- data/benchmark/benchmark_parallel_fib.rb +73 -0
- data/benchmark/benchmark_queue.rb +3 -3
- data/lib/immutable.rb +7 -5
- data/lib/immutable/consable.rb +344 -0
- data/lib/immutable/deque.rb +196 -0
- data/lib/immutable/foldable.rb +10 -0
- data/lib/immutable/headable.rb +235 -0
- data/lib/immutable/list.rb +23 -487
- data/lib/immutable/map.rb +23 -22
- data/lib/immutable/output_restricted_deque.rb +20 -0
- data/lib/immutable/queue.rb +31 -38
- data/lib/immutable/stream.rb +75 -186
- data/test/immutable/test_deque.rb +116 -0
- data/test/immutable/test_list.rb +62 -11
- data/test/immutable/test_map.rb +2 -11
- data/test/immutable/test_promise.rb +2 -2
- data/test/immutable/test_queue.rb +31 -4
- data/test/immutable/test_stream.rb +26 -16
- data/test/test_helper.rb +2 -0
- metadata +9 -2
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: immutable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.
|
5
|
+
version: 0.3.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Shugo Maeda
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2012-
|
13
|
+
date: 2012-09-07 00:00:00 Z
|
14
14
|
dependencies: []
|
15
15
|
|
16
16
|
description:
|
@@ -25,15 +25,22 @@ files:
|
|
25
25
|
- lib/immutable.rb
|
26
26
|
- lib/immutable/map.rb
|
27
27
|
- lib/immutable/queue.rb
|
28
|
+
- lib/immutable/headable.rb
|
29
|
+
- lib/immutable/consable.rb
|
28
30
|
- lib/immutable/stream.rb
|
31
|
+
- lib/immutable/output_restricted_deque.rb
|
29
32
|
- lib/immutable/foldable.rb
|
33
|
+
- lib/immutable/deque.rb
|
30
34
|
- lib/immutable/list.rb
|
31
35
|
- lib/immutable/promise.rb
|
36
|
+
- benchmark/benchmark_deque.rb
|
32
37
|
- benchmark/benchmark_queue.rb
|
38
|
+
- benchmark/benchmark_parallel_fib.rb
|
33
39
|
- benchmark/benchmark_map.rb
|
34
40
|
- test/test_helper.rb
|
35
41
|
- test/immutable/test_list.rb
|
36
42
|
- test/immutable/test_stream.rb
|
43
|
+
- test/immutable/test_deque.rb
|
37
44
|
- test/immutable/test_map.rb
|
38
45
|
- test/immutable/test_promise.rb
|
39
46
|
- test/immutable/test_queue.rb
|