Skip to content

Instantly share code, notes, and snippets.

Created May 22, 2015 22:17
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 anonymous/751a036ba7cc2d703b82 to your computer and use it in GitHub Desktop.
Save anonymous/751a036ba7cc2d703b82 to your computer and use it in GitHub Desktop.
PersistentMap<String, Integer> map = PersistentMap.constructors.emptyMap();
for (int i = 0; i < num; i++) {
map = map.insert("key" + i, i);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment