Skip to main content
24 events
when toggle format what by license comment
Dec 14, 2020 at 0:21 answer added spisk timeline score: 1
S Dec 13, 2020 at 13:30 history edited Doc Brown CC BY-SA 4.0
Made clearer a guess is wanted
S Dec 13, 2020 at 13:30 history suggested Thorbjørn Ravn Andersen CC BY-SA 4.0
Made clearer a guess is wanted
Dec 5, 2020 at 3:01 history tweeted twitter.com/StackSoftEng/status/1335056558686937089
Dec 4, 2020 at 14:58 review Suggested edits
S Dec 13, 2020 at 13:30
S Dec 1, 2020 at 17:40 history edited Glorfindel CC BY-SA 4.0
added 51 characters in body; edited title
Dec 1, 2020 at 14:36 review Suggested edits
S Dec 1, 2020 at 17:40
Nov 30, 2020 at 23:46 review Close votes
Dec 5, 2020 at 3:06
Nov 30, 2020 at 23:28 history protected gnat
Nov 30, 2020 at 20:59 answer added Arunima timeline score: -1
May 10, 2016 at 10:17 answer added candied_orange timeline score: 1
Jul 11, 2013 at 1:52 answer added Nick Burns timeline score: 6
Jul 11, 2013 at 1:47 answer added DougM timeline score: 1
S Jul 11, 2013 at 1:22 history suggested SoapBox
Removed tag; this has nothing to do with extreme programming
Jul 11, 2013 at 1:20 review Suggested edits
S Jul 11, 2013 at 1:22
Jul 10, 2013 at 23:20 comment added Bryan Oakley @StevenBurnap: that looks like an answer rather than a request for clarification. Why not write it as an answer?
Jul 10, 2013 at 23:11 comment added user53141 To estimate the number of lines without actually counting them, you're going to need some estimate of the number of characters per line. If the file is very large, and the line lengths are statistically regular, count the number of lines in the first megabyte to get an estimate of bytes per line, then divide the total file size by that. (Note: I don't think "optimal" is possible here because you are necessarily trading away accuracy for speed. There is nothing "more optimal" then scanning the whole file if you want a correct answer.)
Jul 10, 2013 at 22:51 review First posts
Jul 10, 2013 at 23:44
Jul 10, 2013 at 22:43 comment added rezeptor Thanx. Title is great.
Jul 10, 2013 at 22:41 history edited user28988 CC BY-SA 3.0
edited title
Jul 10, 2013 at 22:40 comment added user28988 I'm gonna change your title a tad to better reflect what you want. Feel free to change it back if it's not better.
Jul 10, 2013 at 22:36 comment added rezeptor any language, not only python, any way to get number of lines as more fast as it possible.
Jul 10, 2013 at 22:34 comment added user28988 Are you looking for an algorithm or a Python specific implementation? If it's the latter, let me know and I'll migrate this to Stack Overflow.
Jul 10, 2013 at 22:32 history asked rezeptor CC BY-SA 3.0