Uses 11335K of libraries. Click here for Pure Java version (8997L/58K).
1 | svoid ai_compressWikipedia(File articlesXMLFile, bool fullCompression default true) { |
2 | long total = l(articlesXMLFile); |
3 | int step = oneHundredMillion(); |
4 | long i = 0; |
5 | while (i < total) { |
6 | File out = appendToFileName(articlesXMLFile, "-" + i + (fullCompression ? ".fubc" : ".ubc")); |
7 | if (!fileExists(out)) |
8 | lcCompressFilePart_upper(articlesXMLFile, out, i, step, +fullCompression); |
9 | i += step; |
10 | } |
11 | } |
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, iveijnkanddl, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1029278 |
Snippet name: | ai_compressWikipedia |
Eternal ID of this version: | #1029278/6 |
Text MD5: | 9d60e2d269f183757c95b6d47d02e02d |
Transpilation MD5: | c6b04f2492a2a2af90e96232c5a2b6b2 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-08-12 01:18:46 |
Source code size: | 426 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 247 / 357 |
Version history: | 5 change(s) |
Referenced in: | [show references] |