image.mem.max_ms_before_yield setting, what does it do?
I'd like to know what this setting does, if anyone could please explain in detail i'd really appreciate it. Thanks.
I'd like to know what this setting does, if anyone could please explain in detail i'd really appreciate it.
Thanks.
Alle svar (3)
The entry i specified is not included in there.
You can search the Firefox source code in such a case and look for comments.
- http://mxr.mozilla.org/mozilla-release/search?string=max_ms_before_yield
- http://mxr.mozilla.org/mozilla-release/source/image/src/RasterImage.cpp
3519 // Yield if we've been decoding for too long. We check this _after_ decoding 3520 // a chunk to ensure that we don't yield without doing any decoding. 3521 if (aDecodeType == DECODE_TYPE_UNTIL_TIME && TimeStamp::Now() >= deadline) 3522 break;