Skip to content

Instantly share code, notes, and snippets.

@iamsmkr
Created July 18, 2022 12:09
Show Gist options
  • Save iamsmkr/61d5b45c8f0d5b7d058554263d288afe to your computer and use it in GitHub Desktop.
Save iamsmkr/61d5b45c8f0d5b7d058554263d288afe to your computer and use it in GitHub Desktop.
val ls = List(1000, "iamsmkr", true)
val vectors = List(id, username, pro)
id.allocateNew()
username.allocateNew()
pro.allocateNew()
id.setSafe(0, ls(0))
username.setSafe(0, ls(1))
pro.setSafe(0, ls(2))
id.setValueCount(1)
username.setValueCount(1)
pro.setValueCount(1)
id.get(0)
username.get(0)
pro.get(0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment