Skip to content

Make vectors more value oriented - #309

Draft
tychedelia wants to merge 2 commits into
mainfrom
vector-fixes
Draft

tychedelia wants to merge 2 commits into
mainfrom
vector-fixes

Conversation

@tychedelia

@tychedelia tychedelia commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

This is a bit opinionated, but moves vector types away from mutating in place towards preferring returning values from methods. This is I think the better choice for linalg math operations and brings us more in line with how other libraries do things. We still support in place mutation for basic math ops, but most methods now return a value. Also, removes hash code from vector types backed by floats.

@tychedelia tychedelia changed the title Vector fixes. Make vectors more value oriented Dec 1, 2026
@tychedelia
tychedelia requested a review from catilac December 1, 2026 20:52

This branch has not been deployed

No deployments
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