Skip to content

Instantly share code, notes, and snippets.

@qwzybug
Created October 28, 2014 20:28
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 qwzybug/6141c005ea5a8065311e to your computer and use it in GitHub Desktop.
Save qwzybug/6141c005ea5a8065311e to your computer and use it in GitHub Desktop.
Were You Aware? that the Swift Character type is 9 bytes large. (And really likes to segfault if you access its memory.)
'a' 61ffffffffffff7f01 UTF8 61
[sunglasses] f09f988effffff7f01 UTF8 F09F988E
[multiply] c397ffffffffff7f01 UTF8 C397
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment