The prototype mutation is hardly necessary for bug 939072, it is just a nice way to avoid a few indirections.
On 3/28/14 7:15 PM, Gregory Szorc wrote: > I'm concerned about this as well. > > In bug 939072, we're looking at doing some dynamic prototype mutation so > Sqlite.jsm can do things like auto-close databases that have been > inactive for a while (freeing resources in the process). The prototype > mutation allows us to do this transparently without consumers of the API > having to care about the state of the connection. > > I'd appreciate if someone could chime in on bug 939072 with a > recommended solution that won't bog down performance. > > _______________________________________________ > dev-platform mailing list > dev-platform@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-platform -- David Rajchenbach-Teller, PhD Performance Team, Mozilla _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform