On Thu, 11 Oct 2012, Thomas McGuire wrote:

> Could we maybe simple get rid of object freezing, and not freeze the global
> object?
> What would the consequences of that be, anything bad? I am the opinion that if
> the user wants to override the "console" object, let him. Maybe there were
> other reasons for freezing the global object though?

My guesses for a possible difference: performance of script execution. 
Once the global object is frozen the JIT compiler can make certain 
assumptions that otherwise are not possible.

Security might be another factor.

Harri.
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to