-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace immutable strings with ConstString
#2073
Comments
ConstString
Signed-off-by: Ales Tsurko <ales.tsurko@gmail.com>
…odel Signed-off-by: Ales Tsurko <ales.tsurko@gmail.com>
…odel Signed-off-by: Ales Tsurko <ales.tsurko@gmail.com>
…odel Signed-off-by: Ales Tsurko <ales.tsurko@gmail.com>
…odel Signed-off-by: Ales Tsurko <ales.tsurko@gmail.com>
…odel Signed-off-by: Ales Tsurko <ales.tsurko@gmail.com>
…odel Signed-off-by: Ales Tsurko <ales.tsurko@gmail.com>
…odel Signed-off-by: Ales Tsurko <ales.tsurko@gmail.com>
would it be possible to extract |
Yeah, I can do that. |
…odel Signed-off-by: Ales Tsurko <ales.tsurko@gmail.com>
…te crate Signed-off-by: Ales Tsurko <ales.tsurko@gmail.com>
… crate Signed-off-by: Ales Tsurko <ales.tsurko@gmail.com>
…ared crate Signed-off-by: Ales Tsurko <ales.tsurko@gmail.com>
…ared crate Signed-off-by: Ales Tsurko <ales.tsurko@gmail.com>
Signed-off-by: Ales Tsurko <ales.tsurko@gmail.com>
…odel Signed-off-by: Ales Tsurko <ales.tsurko@gmail.com>
…ared crate Signed-off-by: Ales Tsurko <ales.tsurko@gmail.com>
Signed-off-by: Ales Tsurko <ales.tsurko@gmail.com>
Signed-off-by: Ales Tsurko <ales.tsurko@gmail.com>
Signed-off-by: Ales Tsurko <ales.tsurko@gmail.com>
…odel Signed-off-by: Ales Tsurko <ales.tsurko@gmail.com>
…ared crate Signed-off-by: Ales Tsurko <ales.tsurko@gmail.com>
Signed-off-by: Ales Tsurko <ales.tsurko@gmail.com>
Signed-off-by: Ales Tsurko <ales.tsurko@gmail.com>
…odel Signed-off-by: Ales Tsurko <ales.tsurko@gmail.com>
…ared crate Signed-off-by: Ales Tsurko <ales.tsurko@gmail.com>
Signed-off-by: Ales Tsurko <ales.tsurko@gmail.com>
Signed-off-by: Ales Tsurko <ales.tsurko@gmail.com>
…in (#2505) * [feature] #2073: Prefer ConstString over String for data_model Signed-off-by: Ales Tsurko <ales.tsurko@gmail.com> * [feature] #2073: Encapsulate iroha_data_primitives into shared crate Signed-off-by: Ales Tsurko <ales.tsurko@gmail.com> * [feature] #2073: Use ConstString in crypto Signed-off-by: Ales Tsurko <ales.tsurko@gmail.com> * [feature] #2073: Rename data_primitives crate into primitives Signed-off-by: Ales Tsurko <ales.tsurko@gmail.com>
In some places, namely
data_model
andcrypto
library there are immutable structures which storeString
s that can never be modified. Examples includePublicKey
,PrivateKey
,IpfsPath
, ...Grep the codebase for
String
s and make use of the newly addedConstString
instead ofstd::String
where applicable to reduce the memory footprint. #1985The text was updated successfully, but these errors were encountered: