Can this replace facebook's immutable library? We're experiencing some big cpu usage and garbage collector runs on our app, and we were trying to isolate the problem.
I'm not sure about the functionality, but from my quick test, it's missing two functions (I'm excluding fromJS because there's from()): toJS and get. Probably toJS() could be implemented simply with:
Can this replace facebook's immutable library? We're experiencing some big cpu usage and garbage collector runs on our app, and we were trying to isolate the problem.
I'm not sure about the functionality, but from my quick test, it's missing two functions (I'm excluding fromJS because there's from()):
toJS
andget
. Probably toJS() could be implemented simply with:I'm not sure about get()..