Remove profile fn.

https://github.com/hylang/hy/pull/522#issuecomment-35972534
This commit is contained in:
Christian Weilbach 2014-02-26 00:03:42 +01:00
parent 46d77f69e6
commit 2e4b77267e

View File

@ -76,13 +76,6 @@
astor.dump)
compiled))
(defn profile [tree]
"Profile a quoted Hy tree."
(import cProfile)
(import re)
(.run cProfile (disassemble tree true)))
(defn distinct [coll]
"Return a generator from the original collection with duplicates
removed"