aboutsummaryrefslogtreecommitdiff
path: root/vec.c
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2025-08-19 23:20:19 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2025-08-19 23:21:41 +0100
commit779c4b83055756a574f58e4097849a8acd6d5a32 (patch)
tree51f27b3ec9970b9a3cf33c46b10aab8d4308232d /vec.c
parent7ac2a80b1143fac9190bbe62811ecc32403bfb98 (diff)
downloadalisp-779c4b83055756a574f58e4097849a8acd6d5a32.tar.gz
alisp-779c4b83055756a574f58e4097849a8acd6d5a32.tar.bz2
alisp-779c4b83055756a574f58e4097849a8acd6d5a32.zip
Conses and Vectors for my tagging scheme
Unfortunately, due to how vectors are implemented, pointers to them are unstable. We need to box them one more time (therefore adding a level of indirection) in order to stabilise them. This is annoying but currently necessary. Even if we implemented vectors as {u64, u64, ptr} instead of {u64, u64, bytes...}, we'd still have the same problem at access - two levels of indirection. I guess size and capacity checks would be one level of indirection which is nice at least, but we're already screwed at the point of doing lookup either way.
Diffstat (limited to 'vec.c')
0 files changed, 0 insertions, 0 deletions