aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/wasm
diff options
context:
space:
mode:
authorIsaac Freund <mail@isaacfreund.com>2025-08-23 15:35:17 +0200
committerIsaac Freund <mail@isaacfreund.com>2025-08-25 20:07:59 +0200
commit3e77317261e3da50ac55be0c14bc00192ee93166 (patch)
treec653fb7267fbf4c31a707fe6589ebd9c8902df32 /src/codegen/wasm
parent47a2f2ddae9cc47ff6df7a71060bbb3f5f20f2e8 (diff)
downloadzig-3e77317261e3da50ac55be0c14bc00192ee93166.tar.gz
zig-3e77317261e3da50ac55be0c14bc00192ee93166.zip
std: add a Deque data structure
This is my penance for baiting andrew into deleting the existing generic queue data structures with my talk of "too many ring buffers". The new Reader and Writer interfaces are excellent ring buffers for many use cases, but a generic queue container type is now missing. This new double-ended queue, known more succinctly as a deque, is implemented from scratch based on the API design lessons learned from ArrayList over the years. The API is not yet as featureful as ArrayList, but the core functionality is in place and I will be using this in my personal projects shortly. I think it makes sense to add further functions as needed based on real-world use-cases.
Diffstat (limited to 'src/codegen/wasm')
0 files changed, 0 insertions, 0 deletions