-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove vek dependency. #34
Conversation
f38e1dd
to
7e61b74
Compare
Happy to accept this change, although most work is being done on the |
Maybe that branch hasn't been pushed as it's pretty behind on github. |
My bad, I'd forgotten the branch had been merged. Happy to merge this, although I can't deny the increase in boilerplate does make me a little sad. Was there any particular reason that you were looking to simplify your dependency tree? |
Particularly the inclusion of serde and it's proc macro has a disproportionate impact on my compile times. I'm also compiling this to a wasm target so am a little more conscientious of additional code payload than I would normally be for a native binary. |
Have you tried simply disabling default features for Code-wise, |
Yeah
…On Thu, Dec 19, 2024, 7:16 p.m. Joshua Barretto ***@***.***> wrote:
Have you tried simply disabling default features for vek? I imagine that
cuts all of that out.
—
Reply to this email directly, view it on GitHub
<#34 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAE74UY6U3WCUGU77NNOUU32GNOVPAVCNFSM6AAAAABTYHECZCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJVHE4TONBZGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
In that case, would configuring |
At this point, I wouldn't go back to using vek in my fork of this project. Barring results from more robust benchmarks, the performance characteristics for both compile time and runtime are steering me away from having vek in my dependency tree at all. That said, I'm not going to maintain my fork except for myself so I certainly understand your reluctance to reinvent the wheel for these math operations. If serde had been easier to remove from my dependency tree I probably would have not cared about this in the first place. |
That's fair enough. I do want to try to experiment with a few things: I think |
Up front: I won't feel slighted if you decline this PR. I mostly did this for my own use but I figured I'd push upstream just in case.
I initially wanted just to remove the serde dependency from my tree but when I got in here and started looking at the code I figured I could trim my tree even more since the usage of vek in this project is restricted to the rasterizer implementations.
Changelog:
Was pleasantly surprised to see that there was a performance improvement. Auto-vectorization never ceases to amaze.