Created
February 5, 2016 20:09
-
-
Save kyleterry/ae57c7e6ea6d0d2ef79e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ time ruby test.rb | |
fart | |
real 0m0.072s | |
user 0m0.041s | |
sys 0m0.025s | |
$ time ./test | |
"{\"name\":\"thingy\",\"tags\":{\"21\":true,\"62\":true}}" | |
"21" | |
uint64 - 21 | |
*main.TagType - &map[] | |
"62" | |
uint64 - 62 | |
*main.TagType - &map[21:{}] | |
{thingy map[21:{} 62:{}]} | |
real 0m0.006s | |
user 0m0.001s | |
sys 0m0.005s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment