开发者

F# - Keep F# interactive from posting output

I'm working with F# interactive and I'm computing some large lists and arrays and I'd rather not have the interactive window post all of that information. Is there way to suppress output?

Specifically I'm developing single threaded and multithreaded algorithms and evaluating at what point does it become mor开发者_C百科e efficient to change from a single threaded function to a multithreaded one. I'd like to have F# Interactive report the run time for the functions, I've been using #time, but I don't want to have to scroll way back up when it prints the large matrix of data to the screen. If there is a way to just get the timing data while keeping the interactive environment from writing out the matrix I would be very appreciative.


I ended up using

fsi.ShowDeclarationValues <- false

Which kept it from outputting all of the data. Thank you for the tips though.


Check out

Link

for some suggestions that may be relevant.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜