Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I just spent some time looking at some old code, and it does seem like OTP 22 solved any of the issues that I had run into at the time. My mistake, sorry about that.

(Though I maintain that it's still opaque)



There's a section about pattern matching and binaries at https://erlang.org/doc/efficiency_guide/binaryhandling.html

Compiling with the bin_opt_info flag (erlc +bin_opt_info Mod.erl) will list the points in your code where binaries are created during pattern match, or any other points where binaries could be shared, but are not.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: