mirror of
https://github.com/kanaka/mal.git
synced 2024-09-11 13:55:55 +03:00
Improve time-ms
This commit is contained in:
parent
39b4500dca
commit
c1a0e86376
@ -669,7 +669,8 @@
|
|||||||
(local mal-time-ms
|
(local mal-time-ms
|
||||||
(t.make-fn
|
(t.make-fn
|
||||||
(fn [asts]
|
(fn [asts]
|
||||||
(t.make-number (os.clock)))))
|
(t.make-number
|
||||||
|
(math.floor (* 1000 (os.clock)))))))
|
||||||
|
|
||||||
(fn fennel-eval*
|
(fn fennel-eval*
|
||||||
[fennel-val]
|
[fennel-val]
|
||||||
|
Loading…
Reference in New Issue
Block a user