issues
search
ebkalderon
/
tower-lsp
Language Server Protocol implementation written in Rust
Apache License 2.0
1k
stars
55
forks
source link
Eliminate looping, message reparsing in codec with take_until
#274
Closed
ebkalderon
closed
3 years ago
ebkalderon
commented
3 years ago
Added
Add
encode_message()
helper function to reduce boilerplate in codec tests.
Changes
Make parse error recovery for incoming messages more efficient, exploit SIMD acceleration using
take_until()
.
Improve codec unit test coverage for catching parse errors.
Added
encode_message()
helper function to reduce boilerplate in codec tests.Changes
take_until()
.