diff options
author | Paul Oliver <[email protected]> | 2012-01-31 19:28:34 +0000 |
---|---|---|
committer | Paul Oliver <[email protected]> | 2012-01-31 19:29:56 +0000 |
commit | 697170b4968373d70193c4719ef2c4d8bf810ceb (patch) | |
tree | 74476937f5205d10f10792121111dfb4e97d6a41 /src/cowboy_http.erl | |
parent | 0c3cf802b429258e2a6ff924156c8d330de5c7e1 (diff) | |
download | cowboy-697170b4968373d70193c4719ef2c4d8bf810ceb.tar.gz cowboy-697170b4968373d70193c4719ef2c4d8bf810ceb.tar.bz2 cowboy-697170b4968373d70193c4719ef2c4d8bf810ceb.zip |
Remove call to queue:len/1
queue:len/1 is O(len(Q))
queue:out/1 is O(1) amortized, O(len(Q)) worst case
Replace with a pattern match
Diffstat (limited to 'src/cowboy_http.erl')
0 files changed, 0 insertions, 0 deletions