kirk-baird opened a new issue #24: URL: https://github.com/apache/incubator-milagro-crypto-rust/issues/24
# What is the Issue Many results are converted from raw data (i.e. ints / bytes) many times. These results could be cached to reduce rework. These results can be cached as: * Big * DBig * FPx * ECPx Common items being decoded many times: * Elliptic Curve Generators * Field Modulus * Curve Order * Curve Equation Parameters (a, b) # What can be done These can be cached using `lazy_static` which will convert into the required rust types only when they are first called and then cached for future use. # Additional Comments It would also be good to change the existing use of `hex` to be stored as `Chunk`s instead. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@milagro.apache.org For additional commands, e-mail: issues-h...@milagro.apache.org