Uses 11335K of libraries. Click here for Pure Java version (8996L/58K).
1 | svoid ai_compressWikipedia_v2(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 + ".bc"); |
7 | if (!fileExists(out)) |
8 | lcCompressFilePart(articlesXMLFile, out, i, step, +fullCompression); |
9 | i += step; |
10 | } |
11 | } |
Began life as a copy of #1029278
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1029475 |
| Snippet name: | ai_compressWikipedia_v2 - no toUpper |
| Eternal ID of this version: | #1029475/2 |
| Text MD5: | 44235b1b254ae3c991fedbb74bfad2be |
| Transpilation MD5: | 5f5d170a7a8b8608451f77480e1b4790 |
| 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:19:16 |
| Source code size: | 392 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 439 / 595 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |