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

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

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

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