Skip to content

v0.6.1

Compare
Choose a tag to compare
@Guest0x0 Guest0x0 released this 15 Sep 08:55
· 53 commits to main since this release
  • [breaking] @io.BufferedReader::op_as_view now returns a @bytes.View instead of Bytes. This avoids unnecessary data copy, but the returned bytes view will become invalid once any data is consumed from the reader. So users should refactor their code, insert manual copy if necessary
  • add @http.ServerConnection, which represents a HTTP connection at the server side. This type provides helpers for writing HTTP server, and provides better performance (by sharing some resource for the whole connection)
  • a lot of performance improvements
  • [internal] added benchmarks for the library in examples/tcp_server_benchmark and examples/http_server_benchmark