Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drauschenbach/a9b580797b9faa70ccf23c5a00b75a1c to your computer and use it in GitHub Desktop.
Save drauschenbach/a9b580797b9faa70ccf23c5a00b75a1c to your computer and use it in GitHub Desktop.
print(collectgarbage('count'))
5.30859375
Matrices = require 'stuart-ml.linalg.Matrices'
local dm = Matrices.dense(3, 2, {1.0, 3.0, 5.0, 2.0, 4.0, 6.0})
print(collectgarbage('count'))
6.177734375
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment