Split core types into a core subpackage #131
Labels
exp/expert
Having worked on the specific codebase is important
kind/enhancement
A net-new feature or improvement to an existing feature
P3
Low: Not priority right now
Currently, the core
Multihash
type and theSum
function are defined in the same package. This means anyone who wants to import the type also needs to import the sum function, pulling in all the hashing libraries at the same time.Instead, we should:
core
sub package.core
package.Sum
in the root package.That way, packages that depend on these types can directly import the
core
package, reducing binary size.Replaces #78.
The text was updated successfully, but these errors were encountered: