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

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -