Closed ikatyang closed 6 years ago
Fixes #402
The memory issue is caused by the Tuple type, probably too many comparison I guess. To avoid other memory issue in the future, I reduced the number of items in NumberStringMap as well.
Tuple
NumberStringMap
I've tested it with @stephenkoo's project (https://github.com/types/npm-ramda/issues/311#issuecomment-406166019) and the empty project mentioned in #402, it does not hang after applying this fix.
Thank you @ikatyang! Appreciate it.
Fixes #402
The memory issue is caused by the
Tuple
type, probably too many comparison I guess. To avoid other memory issue in the future, I reduced the number of items inNumberStringMap
as well.I've tested it with @stephenkoo's project (https://github.com/types/npm-ramda/issues/311#issuecomment-406166019) and the empty project mentioned in #402, it does not hang after applying this fix.