Last active
August 29, 2015 14:12
-
-
Save wrobstory/1d0eade9cc5110db6005 to your computer and use it in GitHub Desktop.
Incanter $where 1M rows
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
user=> (require '[clojure.test.check.generators :as gen]) | |
nil | |
user=> (require 'incanter.core) | |
nil | |
user=> (def one-mil-longs (gen/sample (gen/choose 0 10) 1000000)) | |
#'user/one-mil-longs | |
user=> (def one-mil-incanter (incanter.core/dataset {:one-mil one-mil-longs})) | |
#'user/one-mil-incanter | |
;; This completely locks my REPL | |
user=> (def where-two (incanter.core/$where {:one-mil 2} one-mil-incanter)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment