Memory efficiency, speed and preallocation in Julia

The case of append!() & vcat()

Alex Tantos

--

Photo by Jack Anstey on Unsplash

No Medium membership? Read this article for free here.

Experienced Julia developers often advise beginners to structure their programs using numerous compact functions. Additionally, for memory efficiency and speed in Julia, two key recommendations are: a) to preallocate as much memory for your…

--

--

Alex Tantos

Assistant Professor of Text and Computational Linguistics at the Aristotle University of Thessaloniki. Language data analysis and modeling enthusiast.