nickva opened a new pull request, #5693:
URL: https://github.com/apache/couchdb/pull/5693
Inspired by Jessica's recent commit 12b40b8f1ba974af64c40a02eca080f98ac3677e
to clean up `erlang:error` there are a few more auto-imported functions we
don't need to use the `erlang` prefix for, so make them local as well.
The benefit is two-fold:
- Compiler automatically detects typos in these names.
- Reduces visual clutter a bit.
There is probably no performance benefit as the compiler will internally
turn these into `erlang:Fun` calls or directly to BIF calls, like it might do
for `length/1`.
The commands used to replace looked like:
```
% git grep -l erlang:is_process_alive | xargs gsed -ri
's|erlang:is_process_alive|is_process_alive|g'
% git grep -l erlang:open_port | xargs gsed -ri
's|erlang:open_port|open_port|g'
...
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]