Skip to content

Instantly share code, notes, and snippets.

@JoshuaChi
Last active December 31, 2015 22:19
Show Gist options
  • Save JoshuaChi/8052940 to your computer and use it in GitHub Desktop.
Save JoshuaChi/8052940 to your computer and use it in GitHub Desktop.
binary replace takes too long to execute
byte_size(V).
599833
binary:replace(V, <<0>>, <<>>, [global]).
binary:part(V,{10, 1000}).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment