]> Repositorios git - scryer-prolog.git/commit
use as_bytes().to_vec() instead of bytes().collect()
authorSkgland <[email protected]>
Tue, 18 Nov 2025 21:01:42 +0000 (22:01 +0100)
committerBennet Bleßmann <[email protected]>
Wed, 19 Nov 2025 18:23:41 +0000 (19:23 +0100)
commit248b05c992286bb14d9a65eb7bbaca574a543075
tree8b8cb5896e5c07968591ca3b447167b13a650d21
parenta283c8bdc2606dc4d866b282cdd64f75c6d74e0b
use as_bytes().to_vec() instead of bytes().collect()

copying a slice into a vec should be easier to optimize by the complier than collecting a byte iteration into a vec
src/machine/system_calls.rs