Remove profile fn.
https://github.com/hylang/hy/pull/522#issuecomment-35972534
This commit is contained in:
parent
46d77f69e6
commit
2e4b77267e
@ -76,13 +76,6 @@
|
|||||||
astor.dump)
|
astor.dump)
|
||||||
compiled))
|
compiled))
|
||||||
|
|
||||||
(defn profile [tree]
|
|
||||||
"Profile a quoted Hy tree."
|
|
||||||
(import cProfile)
|
|
||||||
(import re)
|
|
||||||
|
|
||||||
(.run cProfile (disassemble tree true)))
|
|
||||||
|
|
||||||
(defn distinct [coll]
|
(defn distinct [coll]
|
||||||
"Return a generator from the original collection with duplicates
|
"Return a generator from the original collection with duplicates
|
||||||
removed"
|
removed"
|
||||||
|
Loading…
Reference in New Issue
Block a user