starkware-libs / starkware-crypto-utils

Signatures, keys and Pedersen hash on STARK friendly elliptic curve
Apache License 2.0
54 stars 37 forks source link

refactor: optimize `addLeadingZeroes` function #18

Closed nir11 closed 7 months ago

nir11 commented 10 months ago

Description of the Changes

Utilized padStart instead of a string concatenation loop for a more concise & efficient code.

Check List

dan-ziv commented 7 months ago

:tada: This PR is included in version 0.2.1-dev.2 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket:

Cevedale commented 7 months ago

let's go!

dan-ziv commented 7 months ago

:tada: This PR is included in version 0.2.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: