Re: Implementing the web timing spec
Boris Zbarsky <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Message-ID | <[email protected]> |
On 2/12/10 8:01 AM, Christian Biesinger wrote: > That is unfortunate, but there's optimization you can do - instead of > storing the timestamps as msec-since-epoch, you could store the startup > timestamp once, and only store the differences to that, for which a > PRUint32 might suffice. Or you can use the document-load-start timestamp > instead of startup. That way, you only need half the memory. That's a good way to end up with behavior that violates the spec due to overflowing counters, so I don't think it would in fact be a valid optimization. -Boris