-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It turns out that using the `write!` macro on TCP sockets is a bad idea, as the macro will perform multiple unbuffered writes on the socket. Formatting into a `Vec` instead results in just one TCP write per loop, which speeds up communication between the server and the OJD client
- Loading branch information
1 parent
e4e687b
commit f4cac98
Showing
3 changed files
with
11 additions
and
7 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "mister_ojd_server" | ||
version = "1.0.1" | ||
version = "1.0.2" | ||
authors = ["Fenrir <[email protected]>"] | ||
edition = "2018" | ||
license = "MIT OR Apache-2.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters