Skip to content

Remove attrs dependency to improve import times#161

Open
RealOrangeOne wants to merge 1 commit into
kraken-tech:mainfrom
RealOrangeOne:remove-attrs
Open

Remove attrs dependency to improve import times#161
RealOrangeOne wants to merge 1 commit into
kraken-tech:mainfrom
RealOrangeOne:remove-attrs

Conversation

@RealOrangeOne
Copy link
Copy Markdown

This shaves around 10ms (~18%) off the import time.

It removes the immutability of the exceptions, but as the exceptions are intended for dev and not to be handled, this trade-off is worthwhile.

I've left the attribute types in place, on the off chance they're useful. It does duplicate the types for potentially little/no gain so also happy to remove.

This shaves around 10ms (~18%) off the import time.

It removes the immutability of the exceptions, but as the exceptions are
intended for dev and not to be handled, this trade-off is worthwhile.
@RealOrangeOne RealOrangeOne requested a review from a team as a code owner May 20, 2026 16:02
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