Robert;

I noticed that in GUI_Constants TMP_NONOTIFY != TPM_NONOTIFY in GUI.pm. Error?

In trying to find out things so that I don't ask too many dumb questions, I 
looked at GUI_Constants and noticed that the search algorithm seems to be very 
slow. Here is one that I believe is faster (as an attachment). The code 
reorganization uses compile time constants (and arrays) to facilitate run-time 
searches. Adding a new entry consists of modifying the 'enum' and inserting the 
new entry in sort order into the aWinOption array.

In particular, there are 366 entries in the search space. A binary search 
requires (at most) 9 probes for success and 10 probes for failure. This seems 
better than the existing algorithm. What do you think?

The only thing that could be faster is a hash table. If you think it worthwhile 
I'll try to generate one.

I'm trying to find:
  "-addstyle", and
  "-onTerminate".

As a general answer, where should I look to find what these are?

art

Attachment: GUI_Constants.cpp
Description: Binary data

Reply via email to