Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Fix immutability and caching; Speed up wiring compilation #25

Merged
merged 3 commits into from
Jul 22, 2021

Conversation

StannisZhou
Copy link
Contributor

Addresses #24. Makes everything immutable, while maintaining the ability to have cached properties (the trick is to set eq=False for dataclasses).

Partially addresses #18. It turns out in this case using naive np.concatenate is faster than the customized concatenation function.

@StannisZhou StannisZhou self-assigned this Jul 22, 2021
Copy link
Contributor

@NishanthJKumar NishanthJKumar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for figuring these out so quickly!

@NishanthJKumar NishanthJKumar merged commit 19b8fd4 into vicariousinc:master Jul 22, 2021
@StannisZhou StannisZhou self-assigned this Oct 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make everything immutable while maintaining the ability to do caching
2 participants