Last active
December 31, 2015 22:19
-
-
Save JoshuaChi/8052940 to your computer and use it in GitHub Desktop.
binary replace takes too long to execute
This file contains 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
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