Mozilla Firefox質問スレッド(初心者歓迎)の88
at SOFTWARE
91:名無しさん@お腹いっぱい。
09/04/21 22:52:16 BBssezmF0
>>86
意味あるよ。MDCやオープンソースだし見れば分かると思うよ。コメントも書いてあるし。
URLリンク(developer.mozilla.org)
にあるように, 期限切れの処理は,
* On page added (lazily)
* On idle
* On shutdown
時に行われる。
その際に一度に処理される数は, nsNavHistoryExpire.cpp で定義されていて, 6個ずつ処理される。
// Number of things we'll expire at once. Runtime of expiration is approximately
// linear with the number of things we expire at once. This number was picked so
// we expire "several" things at once, but still run quickly. Just doing 3
// expirations at once isn't much faster than 6 due to constant overhead of
// running the query.
#define EXPIRATION_COUNT_PER_RUN 6
次ページ続きを表示1を表示最新レス表示スレッドの検索類似スレ一覧話題のニュースおまかせリスト▼オプションを表示暇つぶし2ch
5370日前に更新/308 KB
担当:undef