Closed arboleya closed 1 month ago
Today, we read binaries after forc build and hexilify them.
forc build
hexilify
The hex string is then embedded within the typegen generated Typescript factory class.
hex
typegen
However, @luizstacio reported achieving a 70% size reduction using the method below:
The reverse must be done for decoding, and the reduction is considerable.
We should look into that.
Refs:
Just thought of this during your presentation today @arboleya, would be a nice simple improvement to reduce code size.
Today, we read binaries after
forc build
andhexilify
them.The
hex
string is then embedded within thetypegen
generated Typescript factory class.However, @luizstacio reported achieving a 70% size reduction using the method below:
The reverse must be done for decoding, and the reduction is considerable.
We should look into that.
Refs: