大O的clojure库函数 [英] Big O of clojure library functions

查看:216
本文介绍了大O的clojure库函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以指向一个列出了基本clojure库函数(如conj,cons等)的Big-O复杂性的资源?我知道Big-O将根据输入的类型而有所不同,但仍然是这样的资源可用吗?

Can anyone point me to a resource that lists the Big-O complexity of basic clojure library functions such as conj, cons, etc.? I know that Big-O would vary depending on the type of the input, but still, is such a resource available? I feel uncomfortable coding something without having a rough idea of how quickly it'll run.

推荐答案

这里是一个由< a href =http://eigenhombre.com =nofollow noreferrer> John Jacobsen 并采取了来自此次讨论

Here is a table composed by John Jacobsen and taken from this discussion:

这篇关于大O的clojure库函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆