Skip to content

refactor: implement string view to replace string structs#33

Merged
kshku merged 8 commits intodevfrom
refactor/string-view
Apr 19, 2026
Merged

refactor: implement string view to replace string structs#33
kshku merged 8 commits intodevfrom
refactor/string-view

Conversation

@kshku
Copy link
Copy Markdown
Owner

@kshku kshku commented Apr 19, 2026

What does this PR do?

Implement SnukStringView and utility functions
Refactor inline string structs to use SnukStringView

Type of change

  • feat — new feature
  • fix — bug fix
  • docs — documentation
  • refactor — no behavior change
  • chore — build / tooling
  • perf — performance
  • test — tests only

Checklist

  • Branch cut from dev
  • Builds without warnings (-Wall -Wextra)
  • Existing test files still pass
  • New behavior covered by a test file in tests/
  • Commits follow conventional commit format

Anything reviewers should know?

Closes #4

Known bugs:
Memory leaks: interpreter never frees the copied string views.

@kshku kshku self-assigned this Apr 19, 2026
@kshku kshku added the refactor Code cleanup label Apr 19, 2026
@kshku kshku force-pushed the refactor/string-view branch from 3fbf262 to ab8d16e Compare April 19, 2026 10:08
@kshku kshku merged commit d6af140 into dev Apr 19, 2026
5 of 6 checks passed
@kshku kshku deleted the refactor/string-view branch April 19, 2026 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor Code cleanup

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor: implement string view type to replace string structs

1 participant