Skip to content

Replace String mutation with Bytes#58

Open
Yiannis1999 wants to merge 1 commit intocil-project:developfrom
Yiannis1999:develop
Open

Replace String mutation with Bytes#58
Yiannis1999 wants to merge 1 commit intocil-project:developfrom
Yiannis1999:develop

Conversation

@Yiannis1999
Copy link

Refactored code to use Bytes instead of mutable String operations in several modules (cil.ml, formatlex.mll, errormsg.ml, pretty.ml). This improves safety and compatibility with modern OCaml, as String is immutable. All in-place string modifications now use Bytes, and conversions back to String are performed as needed.

Refactored code to use Bytes instead of mutable String operations in several modules (cil.ml, formatlex.mll, errormsg.ml, pretty.ml). This improves safety and compatibility with modern OCaml, as String is immutable. All in-place string modifications now use Bytes, and conversions back to String are performed as needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant