iprocess 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +12 -8
  2. data/lib/iprocess/version.rb +1 -1
  3. metadata +10 -10
data/README.md CHANGED
@@ -23,11 +23,18 @@ __COST?__
23
23
  a thread (in terms of time to create the subprocess, and the memory it consumes
24
24
  - no implementation IProcess supports has a CoW-friendly garbage collector).
25
25
 
26
- Despite the GIL on CRuby, for IO bound operations it can run threads in
27
- parallel and may perform better. For long running non-IO bound operations,
28
- though, parallel subprocesses usually outperform CRuby threads. You should
29
- profile and benchmark IProcess and threads for your use-case before choosing
30
- either. IProcess may be better, or it may be worse.
26
+ Even with the Global Interpreter Lock(GIL) on CRuby, for IO bound operations
27
+ it can run threads in parallel and may perform better. For long running
28
+ non-IO bound operations, though, parallel subprocesses usually outperform
29
+ CRuby threads. You should benchmark IProcess and threads for your
30
+ use-case before choosing either. IProcess may be better, or it may be worse.
31
+
32
+ __OBJECTS__
33
+
34
+ Not all Ruby objects can be shared but the majority can be. Proc objects,
35
+ anonymous classes, anonymous modules, and perhaps others I do
36
+ not know of cannot be shared. In short, if a object can be serialized through
37
+ the Ruby Marshal module then it can be shared by IProcess.
31
38
 
32
39
  __EXAMPLES__
33
40
 
@@ -79,6 +86,3 @@ __LICENSE__
79
86
 
80
87
 
81
88
  See LICENSE.txt
82
-
83
-
84
-
@@ -1,3 +1,3 @@
1
1
  class IProcess
2
- VERSION = '1.0.4'
2
+ VERSION = '1.0.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iprocess
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-11 00:00:00.000000000 Z
12
+ date: 2012-03-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: yard
16
- requirement: &70123289432540 !ruby/object:Gem::Requirement
16
+ requirement: &70315358026020 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0.7'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70123289432540
24
+ version_requirements: *70315358026020
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: redcarpet
27
- requirement: &70123289429380 !ruby/object:Gem::Requirement
27
+ requirement: &70315358025560 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '1.17'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70123289429380
35
+ version_requirements: *70315358025560
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: minitest
38
- requirement: &70123289427480 !ruby/object:Gem::Requirement
38
+ requirement: &70315358060160 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '2.6'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70123289427480
46
+ version_requirements: *70315358060160
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rake
49
- requirement: &70123285324240 !ruby/object:Gem::Requirement
49
+ requirement: &70315358059700 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: 0.9.2
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70123285324240
57
+ version_requirements: *70315358059700
58
58
  description: A Domain Specific Language(DSL) for sharing Ruby objectsbetween processes
59
59
  on UNIX-like operating systems.
60
60
  email: rob@flowof.info