Skip to content

Instantly share code, notes, and snippets.

@owensd
Created June 5, 2014 04:40
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 owensd/d05e880d7659c047c6bc to your computer and use it in GitHub Desktop.
Save owensd/d05e880d7659c047c6bc to your computer and use it in GitHub Desktop.
func testAppendInt() {
var array : Int[] = []
self.measureBlock() {
for (var i = 0; i < 1_000_000; ++i) {
array.append(i)
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment