Skip to content

Commit f4e64d5

Browse files
authored
Separate data and instruction (TuringLang#128)
* remove MacroTools * separate data and instruction * refactor: tapedfunction constructor and copying * compact code * code revise * make instructions immutable * remove `TapedFunction.owner`
1 parent 0e00d76 commit f4e64d5

File tree

4 files changed

+91
-144
lines changed

4 files changed

+91
-144
lines changed

Project.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,11 @@ version = "0.7.0"
99
CodeInfoTools = "bc773b8a-8374-437a-b9f2-0e9785855863"
1010
LRUCache = "8ac3fa9e-de4c-5943-b1dc-09c6b5f20637"
1111
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
12-
MacroTools = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09"
1312
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
1413

1514
[compat]
1615
CodeInfoTools = "0.3.4"
1716
LRUCache = "1.3"
18-
MacroTools = "0.5"
1917
julia = "1.7"
2018

2119
[extras]

src/Libtask.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module Libtask
22

33
using CodeInfoTools
4-
using MacroTools
5-
64
using LRUCache
75

86
export TapedTask, consume, produce

0 commit comments

Comments
 (0)