vbmithr / ocaml-websocket

Websocket library for OCaml
ISC License
162 stars 44 forks source link

Perf improvement: Avoid generating xor mask if it isn't used #74

Closed copy closed 7 years ago

copy commented 7 years ago

And don't wrap read_frame twice

copy commented 7 years ago

@vbmithr I just accidentally pushed the PR to the repo. I think they should be safe changes, but you could have a look at them anyway?

vbmithr commented 7 years ago

Ok, I will do this now.

vbmithr commented 7 years ago

Yep, LGTM.