Closed popematt closed 3 years ago
Should we avoid recomputing bytes([...]) on each call by storing the values?
bytes([...])
Originally posted by @tgregg in https://github.com/amzn/ion-hash-python/pull/22#r701397395
https://github.com/amzn/ion-hash-python/blob/482ceb0c99494f196f7838a66ffe13721ee87425/ionhash/hasher.py#L481-L483
Also applicable to: https://github.com/amzn/ion-hash-python/blob/482ceb0c99494f196f7838a66ffe13721ee87425/ionhash/fast_value_hasher.py#L96
Originally posted by @tgregg in https://github.com/amzn/ion-hash-python/pull/22#r701397395
https://github.com/amzn/ion-hash-python/blob/482ceb0c99494f196f7838a66ffe13721ee87425/ionhash/hasher.py#L481-L483
Also applicable to: https://github.com/amzn/ion-hash-python/blob/482ceb0c99494f196f7838a66ffe13721ee87425/ionhash/fast_value_hasher.py#L96