aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tcp_echo
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-10-17 15:05:57 +0200
committerLoïc Hoguin <[email protected]>2019-10-17 15:05:57 +0200
commitec98f78f154bcf71afbf198386dc0ffb765839f2 (patch)
tree84ace300fc448b5f2bfa422a177cb734e4039839 /examples/tcp_echo
parentd92a10b19b8fb203a75b7e4065106573d30546d0 (diff)
downloadranch-ec98f78f154bcf71afbf198386dc0ffb765839f2.tar.gz
ranch-ec98f78f154bcf71afbf198386dc0ffb765839f2.tar.bz2
ranch-ec98f78f154bcf71afbf198386dc0ffb765839f2.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 'examples/tcp_echo')
0 files changed, 0 insertions, 0 deletions