News for hackers. Stuff that matters.
Re:Immutable.js – Immutable Data Collections by Too on Saturday November 01, 2014 @08:52AM (#8542870)
Last time i checked Object.freeze actually made things slower, alot slower. Sounds counter intuitive and it might eventually change but that's the current state in most popular browsers.
Re:Immutable.js – Immutable Data Collections by leebyron on Saturday November 01, 2014 @09:45PM (#8545295)
This is pretty unfortunate.

At Facebook we use Object.freeze in a number of places to express POJSO immutability. A technique we've used to deal with the performance hit is to make most of these Object.freeze calls a no-op in a production environment.

Most FB employees (incl non-devs) load the site in development mode, so we still get the stricter error messages.