diff options
author | Loïc Hoguin <[email protected]> | 2019-10-17 15:05:57 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-10-17 15:05:57 +0200 |
commit | ec98f78f154bcf71afbf198386dc0ffb765839f2 (patch) | |
tree | 84ace300fc448b5f2bfa422a177cb734e4039839 /test/batch_echo_protocol.erl | |
parent | d92a10b19b8fb203a75b7e4065106573d30546d0 (diff) | |
download | ranch-no-pdict.tar.gz ranch-no-pdict.tar.bz2 ranch-no-pdict.zip |
Use a map instead of pdict to keep pid active/removed stateno-pdict
The performance seems to be equal as far as Cowboy is concerned,
with a possible tiny improvement in the favor of maps. The code
is smaller and the runtime introspection far cleaner because the
process dictionary is small again.
Diffstat (limited to 'test/batch_echo_protocol.erl')
0 files changed, 0 insertions, 0 deletions