EXtremeZip 2022.2.5 → 2022.2.6

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/extremezip.zzaqsv.rb +1 -7
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8a901704ebb0119ce33eb6456905840c2b4dc6c0b5b59fef45412a1503bf71b9
4
- data.tar.gz: 7b848ffaf0a33ae060d77f13c12f45b4c686a155d2fca7a86b69bb816d2e3dc3
3
+ metadata.gz: d368c2ced983111e5abca75f712fd09f01f9a3c308860782ce9d17850aa84b9d
4
+ data.tar.gz: 8d9c5b14cd143fec9be4a4149b4ba191665bbdaab6e30c3de9492eb3183c5839
5
5
  SHA512:
6
- metadata.gz: 38a3aa8e8679c4d065df2b21af79c0808f69e6e7756efd4bc68cbdf35d519c5eff0219e3d2541671ff1fe69f5d1688836f27a53c00ed56ce4d417852613609d0
7
- data.tar.gz: 90b04389278faddbc27977f5e86c8ce468ffbf85aa95177c48a6630eb29e14f3ca540850b84e4cb95617bf487a54fa5566e9e330f309132249953cae7752c12d
6
+ metadata.gz: 249baeec68ad080d1d4fbd7f158d11b794aeff51c4e429d447cea91c9e9cb925a0c487506b9112e1cccf530bfe325f1dd5c74b1914d63a53a972a592acbf00a2
7
+ data.tar.gz: 229d12c536bc4ecec1253e62bb98db4a9cba42f0808904bd36ad9460dcb801ad949dc33c2ac39ac4c0982d37d2248d28d73e1a0943a3d61ad1547238cdc21187
@@ -168,7 +168,7 @@ class ExtremeZip
168
168
 
169
169
  currentBlockFile.close # 关闭文件
170
170
 
171
- #File.delete(currentBlockFile) # 删除数据块文件
171
+ File.delete(currentBlockFile) # 删除数据块文件
172
172
 
173
173
  currentBlockData
174
174
  end
@@ -177,11 +177,8 @@ class ExtremeZip
177
177
  def schedule1Block(filePartCounter)
178
178
  currentBlockData = readBlockFile(filePartCounter) # 读取块文件内容
179
179
 
180
- # currentTaskPipe = Cod.pipe # 任务分配管道
181
180
  currentResponsePipe = Cod.pipe # 任务回复管道
182
181
 
183
- puts("forking sub process, file part counter: #{filePartCounter}") # Debug.
184
-
185
182
  p1 = fork do # 复制出子进程
186
183
  compressInSubProcess(currentBlockData, currentResponsePipe) # 在子进程中具体执行的压缩代码
187
184
  end # p1 = fork do #复制出子进程
@@ -202,11 +199,8 @@ class ExtremeZip
202
199
 
203
200
  # 启动子进程。
204
201
  def launchSubProcesses
205
-
206
- #while ((@filePartCounter < @filePartAmount) && (true)) # 未处理完毕,并且未达到最大子进程个数
207
202
  while ((@filePartCounter < @filePartAmount) && (@filePartCounter<@maxSubProcessAmount)) # 未处理完毕,并且未达到最大子进程个数
208
203
  currentResponsePipe, p1 = schedule1Block(@filePartCounter) # 计划一个块的压缩计算
209
-
210
204
  end # while processDataLength < victoriaFreshData.byte_size do #未处理完毕
211
205
 
212
206
  [@processIdList, @responsePipeList]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: EXtremeZip
3
3
  version: !ruby/object:Gem::Version
4
- version: 2022.2.5
4
+ version: 2022.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hxcan Cai