Skip to content

v6.0.0

Compare
Choose a tag to compare
@blackbeam blackbeam released this 05 Aug 07:22
· 608 commits to master since this release

This release fixes typo in PooledConn::drop() which leads to huge performance regressions for cases where number of acquired PooledConns is greater than pool.min. It also fixes Pool::first_exec signature (mut removed) and adds implementation of From<[u8; 0..32]> for Value.

Also this release adds a bunch of performance improvements as a result of solving #53:

  • Column was rewritten to speedup Column::from_payload and Column::clone(). It affects performance of prepare and prep_exec in all cases.
  • Connectivity check was improved. It affects performance of Pool::prepare and Pool::get_conn.
  • TLS slot for pool connection was added. It removes pool overhead in many cases.
  • A way to turn off connectivity checks, pool-level stmt cache and TLS slot was added. Turning off connectivity checks may speedup batch jobs in cases when Pool::get_conn and Pool::prepare is frequently used.
  • XXHash now used for stmt cache.
  • InnerPool now using VecDeque to store connections.