Skip to content

Instantly share code, notes, and snippets.

@briantrice
Created November 13, 2010 22:34
Show Gist options
  • Save briantrice/675711 to your computer and use it in GitHub Desktop.
Save briantrice/675711 to your computer and use it in GitHub Desktop.
Before and after
"Before:"
r@(Range traits) hash
[
(((r start hash bitShift: 2)
bitOr: r end hash)
bitShift: 1)
bitOr: r size
].
"After:"
r@(Range traits) hash
[
(r start hash bitShift: 2)
#(bitOr: r end hash)
#(bitShift: 1)
#(bitOr: r size)
].
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment