Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

11
LINES

< > BotCompany Repo | #1029475 // ai_compressWikipedia_v2 - no toUpper

JavaX fragment (include) [tags: use-pretranspiled]

Uses 11335K of libraries. Click here for Pure Java version (8996L/58K).

svoid ai_compressWikipedia_v2(File articlesXMLFile, bool fullCompression default true) {
  long total = l(articlesXMLFile);
  int step = oneHundredMillion();
  long i = 0;
  while (i < total) {
    File out = appendToFileName(articlesXMLFile, "-" + i + ".bc");
    if (!fileExists(out))
      lcCompressFilePart(articlesXMLFile, out, i, step, +fullCompression);
    i += step;
  }
}

Author comment

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: 134 / 211
Version history: 1 change(s)
Referenced in: [show references]