Changeset 20774

Show
Ignore:
Timestamp:
10/05/08 16:10:35 (3 months ago)
Author:
poolmmjp
Message:

取得したデータが新着かどうかチェックする際、持ってる全データと比較するのは無駄なので、最近のデータとだけ比較するようにした。

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/csharp/MMMMB/MMMMB/MiniBlogView.cs

    r20749 r20774  
    138138                        // �V�����ǂ������f 
    139139                        bool isNew = true; 
    140                         foreach (Entry old_e in entryList) 
     140                        int count = newEntryList.Count * 2; 
     141                        if (entryList.Count < count) count = entryList.Count; 
     142                        for (int i = 1; i <= count; i++) 
    141143                        { 
     144                            Entry old_e = entryList[entryList.Count - i]; 
    142145                            if (new_e.Permalink == old_e.Permalink) 
    143146                            {