]> Repositorios git - scryer-prolog.git/commit
improve count_to_letter_code
authorSkgland <[email protected]>
Tue, 18 Nov 2025 20:42:10 +0000 (21:42 +0100)
committerBennet Bleßmann <[email protected]>
Wed, 19 Nov 2025 18:23:41 +0000 (19:23 +0100)
commita0b4162d7a6682f839d625695575e9ed069079b7
tree498ac27940efde1444d17b1b759ed9d64a508c8d
parent119761ad10e03042e88321a3d820eeb89bcf336b
improve count_to_letter_code

- reserve the complete required length at the beginning to reduce reallocations
- use u8 instead of char so that we can re-use the allocation for the string
src/machine/lib_machine/mod.rs