Download Jar. Uses 865K of libraries. Click here for Pure Java version (5274L/34K).
!7 p { maxConsoleChars(100000); File f = unpackSimpleWikipedia(); long size = fileSize(f); long seek = size-100000; print("File size: " + size + ", seeking: " + seek); time2 { S line_check = loadUtf8LineFromFile(f, seek); } print("read: " + sfu(line_check)); }
Began life as a copy of #1014155
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1014158 |
Snippet name: | Test speed of loadUtf8LineFromFile (OK, got 10 ms) |
Eternal ID of this version: | #1014158/3 |
Text MD5: | 55d26d4227d7d823a50fe121672d678a |
Transpilation MD5: | 29177d3d777df6e26e7515d35d3dcc43 |
Author: | stefan |
Category: | javax / io |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-04-15 12:48:19 |
Source code size: | 297 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 407 / 1118 |
Version history: | 2 change(s) |
Referenced in: | -