cursive

Issues at: https://git.io/cursive-issues
caleb.macdonaldblack 2021-06-22T00:10:03.081Z

Any ideas why “requiring” my namespaces is so slow for me in the repl? using (require '[some.namespace]) can take around 800ms for a namespace that isn’t that big and doesn’t require any other files other than external libs

caleb.macdonaldblack 2021-06-22T00:10:54.081500Z

starting my whole project in the REPL takes over a minute

cfleming 2021-06-22T01:43:58.081600Z

That’s probably a question for #clojure, unless it’s very slow in Cursive and fast in a normal REPL.

👍 1
alexmiller 2021-06-22T02:31:20.082800Z

one thing you can try is to add :verbose true to your require - that will dump each ns as it loads. if one namespace is particularly slow (mostly commonly due to heavy macro usage), you can often just spot it by eyeball

salam 2021-06-22T04:45:57.082900Z

this is currently blocking us from working in this repo since there's no workaround either. when can we expect a fix to be released?

cfleming 2021-06-22T05:03:34.083200Z

I’m not sure, I can do an EAP release as soon as I’ve identified the problem. Hopefully tomorrow.

1
1
bnstvn 2021-06-22T11:25:57.086600Z

in the Cursive REPL, whenever a huge datastructure is printed,the keybinding for “Interrupt Current Evaluation” doesn’t work for me. The keybinding does work in the eval phase, and with mouse click I can stop the printing as well. anybody have seen this?