• (load-file f)

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/mmap.clj:50 top

(defn load-file [f]
  "Like clojure.lang/load-file, but uses mmap internally."
  (with-open [rdr (-> f mmap buffer-stream InputStreamReader. PushbackReader.)]
    (load-reader rdr)))
Vars in clojure.contrib.mmap/load-file: defn load-file load-reader with-open
Used in 0 other vars

Comments top

No comments for load-file. Log in to add a comment.