summary refs log tree commit diff stats
path: root/bin/empty.txt
diff options
context:
space:
mode:
authorJordan Gillard <jordan@blackcicada.info>2023-05-09 14:33:35 -0400
committerGitHub <noreply@github.com>2023-05-09 20:33:35 +0200
commitb169dad1e5083eae333ba9a7e11fed74a05385de (patch)
tree2b6c7d7c30434a853e98ac746dc5c791ad9402c0 /bin/empty.txt
parent5491e0c27419c13a0566ab3ed99ebeedccaf9a5c (diff)
downloadNim-b169dad1e5083eae333ba9a7e11fed74a05385de.tar.gz
Improve and refactor cellseqs_v2 in Nim standard library (#21796)
* Refactor and optimize cellseqs_v2 in Nim standard library

* Extract resizing logic into a separate 'resize' procedure for better readability and separation of concerns
* Implement realloc for non-threaded cases to improve memory operations efficiency
* Use ',' instead of ';' between parameters in 'add' procedure for consistency with other Nim code

* Respond to Araq's feedback: Refactor resize function to use reallocShared

This commit replaces the usage of allocShared and deallocShared with reallocShared to optimize memory allocation and deallocation while resizing the CellSeq.
Diffstat (limited to 'bin/empty.txt')
0 files changed, 0 insertions, 0 deletions