From 789169d70d24ff2c1c9804f0149d0508de6dfcfa Mon Sep 17 00:00:00 2001 From: Enrique Date: Mon, 6 Jan 2025 00:50:11 +0100 Subject: First upload --- list/rulez.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 list/rulez.txt (limited to 'list/rulez.txt') diff --git a/list/rulez.txt b/list/rulez.txt new file mode 100755 index 0000000..65c7ce5 --- /dev/null +++ b/list/rulez.txt @@ -0,0 +1,20 @@ + push + static + if space l[size++] = d + dynamic || naive + if !space realloc + if space l[size++] = d + + push_i + static + no sneed + dynamic || naive + if !space realloc move + l[i] = d, size++ + + pop + static + l[size--] = {0} + dynamic || naive + l[size--] = {0} + if space < limit realloc -- cgit v1.2.3