Open Bug 625913 Opened 11 years ago Updated 5 years ago
IPlace Info::visits should cache it's value
No need to recreate the array on every invocation. May be simple as changing inheritance to nsIXPCScriptable, and then calling JS_SetProperty to set the visits property to the result before returning.
You need to log in before you can comment on or make changes to this bug.