Julia Programming Language
What's the macro to prevent a vector from moving memory location during a function call?
New to Julia
xiaodai
November 19, 2019, 5:38am
1
I think it belongs to
GC
but I can’t remember the macro name.
fredrikekre
November 19, 2019, 6:02am
2
GC.@preserve
maybe?
2 Likes
Related topics
Topic
Replies
Views
Activity
Does `GC.@preserve a b` preserves the location of `a` and `b`
General Usage
11
1763
May 28, 2020
Julia GC wiping memory despite use of GC.@preserve
General Usage
embedding
,
garbage-collection
0
567
March 12, 2021
GC.@preserve macro equivalent for v0.6.2
Internals & Design
2
824
March 11, 2018
On the garbage collection
General Usage
question
,
garbage-collection
35
15336
March 17, 2020
Julia v0.6 vs. v0.7 GC behaviour?
General Usage
question
8
1387
March 29, 2018