Created
March 1, 2017 04:13
-
-
Save atroche/a2766ad9fd92e21b5d8c161f0a8e9565 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(with-open [rdr (io/reader ten-gb-filename)] | |
(loop [line-count 0] | |
(if-not (.readLine rdr) | |
line-count | |
(recur (inc line-count))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment