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