Skip to content

v1.1.0

Choose a tag to compare

@cwt cwt released this 07 Aug 09:05
· 16 commits to main since this release

Quez v1.1.0 - Nowait and Async Performance Enhanced

  • Adds put_nowait and get_nowait to AsyncCompressedQueue.

  • Adds append_nowait, appendleft_nowait, pop_nowait, and
    popleft_nowait to AsyncCompressedDeque to provide a
    consistent, non-blocking synchronous API.

  • Optimizes the async methods (put, get, append, etc.) in both
    async classes by consolidating serialization/compression and
    deserialization/decompression into single helper functions. This
    reduces the run_in_executor calls from two to one per operation,
    dramatically improving throughput for CPU-bound tasks.

  • Adds comprehensive tests for all new _nowait methods.

  • Updates the benchmark script to measure and compare the performance
    of the new _nowait methods against existing async and sync methods.