free variable - Destroy type in Julia -


i have destroy type in julia looks like:

type city x::int y::int index::int end 

and want make function like

  destroy(city) 

which delete this. possible? answers

julia garbage collected language – you not need explicitly free memory used objects , there no mechanism so. garbage collection happens automatically in response memory pressure, or can invoke manually calling gc() function.


Comments

Popular posts from this blog

How to understand 2 main() functions after using uftrace to profile the C++ program? -

c# - Update a combobox from a presenter (MVP) -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -