nim-stew/stew
Jacek Sieka 28743363ff
keyed_queue: avoid copies, lookups (#220)
This change avoids many superfluous data copies and lookups by
exploiting `withValue` thus performing only one lookup with the same key
(instead of hasKey + actual lookup).

We also avoid several copies of the value which often is copied even
though only the next/prev pointers from the item are needed, for examle
during shifting and lru-appending.
2024-06-11 08:43:41 +02:00
..
keyed_queue remove dead code under Nim 1.6+ (#206) 2023-07-31 21:07:48 +00:00
ranges remove dead code under Nim 1.6+ (#206) 2023-07-31 21:07:48 +00:00
shims rm deprecated pre-Nim 1.6 shims (#218) 2024-06-10 00:31:18 +00:00
sorted_set remove dead code under Nim 1.6+ (#206) 2023-07-31 21:07:48 +00:00
windows Fix inherited objects problem. (#59) 2020-10-20 17:43:38 +03:00
README.md std_shims->stew 2019-07-06 19:12:24 +02:00
arrayops.nim remove dead code under Nim 1.6+ (#206) 2023-07-31 21:07:48 +00:00
assign2.nim remove dead code under Nim 1.6+ (#206) 2023-07-31 21:07:48 +00:00
base10.nim workaround codegen error for `Base10.decode` (#111) 2023-08-25 00:04:33 +02:00
base32.nim enable styleCheck:usages (#93) 2021-12-02 16:24:02 +01:00
base58.nim remove cast warnings (#186) 2023-05-23 11:05:55 +02:00
base64.nim enable styleCheck:usages (#93) 2021-12-02 16:24:02 +01:00
bitops2.nim bitops2: fix resizing casts (#194) 2023-06-15 13:52:54 +02:00
bitseqs.nim remove dead code under Nim 1.6+ (#206) 2023-07-31 21:07:48 +00:00
byteutils.nim byteutils: `openArray[char]` version of `toBytes` (#210) 2023-11-14 11:53:47 +01:00
closures.nim std_shims->stew 2019-07-06 19:12:24 +02:00
ctops.nim remove dead code under Nim 1.6+ (#206) 2023-07-31 21:07:48 +00:00
endians2.nim endians2: use copyMem instead of loop outside of vm (#95) 2022-01-03 14:53:01 +01:00
enums.nim remove dead code under Nim 1.6+ (#206) 2023-07-31 21:07:48 +00:00
faux_closures.nim Faux closures: a facility for creating closure-like non-closure procs 2020-07-07 20:29:04 +03:00
interval_set.nim remove dead code under Nim 1.6+ (#206) 2023-07-31 21:07:48 +00:00
io.nim enable styleCheck:usages (#93) 2021-12-02 16:24:02 +01:00
io2.nim remove dead code under Nim 1.6+ (#206) 2023-07-31 21:07:48 +00:00
keyed_queue.nim keyed_queue: avoid copies, lookups (#220) 2024-06-11 08:43:41 +02:00
leb128.nim fix fromBytes call resolution (#140) 2022-09-12 14:29:03 +02:00
objects.nim remove HoleEnumConv warning (#184) 2023-04-25 18:16:50 +02:00
ptrops.nim ptrops: add makeUncheckedArray (#193) 2023-06-12 14:13:18 +02:00
result.nim result -> results (#27) 2020-04-07 11:43:07 +02:00
results.nim deprecate stew/results (#219) 2024-06-10 19:11:33 +00:00
rlimits.nim POSIX stack size limiting 2020-06-25 19:01:01 +02:00
saturating_arith.nim Add stew/saturation_arith 2022-08-18 23:57:27 +03:00
saturation_arith.nim Add stew/saturation_arith 2022-08-18 23:57:27 +03:00
sequtils2.nim random helpers (#64) 2020-12-10 12:05:22 +01:00
sorted_set.nim remove dead code under Nim 1.6+ (#206) 2023-07-31 21:07:48 +00:00
strings.nim enable styleCheck:usages (#93) 2021-12-02 16:24:02 +01:00
templateutils.nim Add templateutils.evalTemplateParamOnce 2021-12-03 13:28:54 +02:00

README.md

Candidates for standard library inclusion - functions and helpers that are too small to put in their own git repository