Bug 559992 added a caching system for content prefs and used it for Firefox zoom, we should do the latter in SeaMonkey as well.
http://hg.mozilla.org/mozilla-central/rev/9365fe1a3165 is the relevant checkin, we only need to port the browser-fullZoom.js part into our view "zoom overlay".
Created attachment 502802 [details] [diff] [review]
take a shortcut when pref is cached
From all I see, the actual change in this ported code is just that we don't need to re-check when the pref is cached, as we know it will be fast in that case.
Pushed as http://hg.mozilla.org/comm-central/rev/dec8d99ccc4b
Can we use .bind(this) here?