Changeset 8215 for branches

Show
Ignore:
Timestamp:
11/11/11 08:13:12 (7 months ago)
Author:
westram
Message:
  • guard truncated probe match against misunderstandings
  • increase match limit to 1M (should do until 6.0)
Location:
branches/stable_5.0
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/stable_5.0/PROBE/probe.h

    r7199 r8215  
    4141#define PT_CORE *(int *)0 = 0; 
    4242 
    43 #if defined(DEVEL_KAI) 
    44 #define PT_MAX_MATCHES     1024*256 
    45 #else 
    46 #define PT_MAX_MATCHES     100000 
    47 #endif // DEVEL_KAI 
     43#define PT_MAX_MATCHES     1000000 
    4844 
    4945// #define PT_MAX_IDENTS      10000 
  • branches/stable_5.0/PROBE_DESIGN/probe_design.cxx

    r6287 r8215  
    758758            } 
    759759 
    760             root->awar(AWAR_PD_MATCH_NHITS)->write_string(GBS_global_string(matches_truncated ? "> %li" : "%li", match_list_cnt)); 
     760            root->awar(AWAR_PD_MATCH_NHITS)->write_string(GBS_global_string(matches_truncated ? "[more than %li]" : "%li", match_list_cnt)); 
    761761            if (matches_truncated) { 
    762                 aw_message("Too many matches - list does not necessarily contain best matches."); 
     762                aw_message("Too many matches, displaying a random digest.\n"  
     763                           "ARB 6.0 will be able to configure the limit.");  
    763764            } 
    764765        }