4 ms·
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
by latch 6y ago
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)
- ergl 6y agoThere's a section about pattern matching and binaries at https://erlang.org/doc/efficiency_guide/binaryhandling.html 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.