DEV Community

loading...

Discussion on: Normalize your complex JS objects

Collapse
theodesp profile image
Theofanis Despoudis

Note that the normalization step takes O(n) but if you do it once it pays off later on.

Collapse
danielpdev profile image
danielpdev Author

Yes, you're right!
Thanks for pointing this out!