-
Notifications
You must be signed in to change notification settings - Fork 805
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I just noticed while skimming that this file seemed drastically over-complicated. As the keys are all consts, this should mean that the net change for all this is that these take one slice pointer more space per instance. And binary size is marginally smaller due to fewer types / a smaller type->interface lookup table. Separately, now that it's simpler, some of the variations are more noticeable. It may be worth standardizing further, e.g.: - sanitizing everything (except perhaps the kafka partition) - get rid of the "unknown" constructors? I can see them having some use, but it seems kinda random what has it and what doesn't.
- Loading branch information
Showing
1 changed file
with
28 additions
and
215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters