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?
I like the idea - in practise does this mean that win32-gui is noticeably faster?
The only thing that could be faster is a hash table. If you think it worthwhile I'll try to generate one.
I guess it would depend on the reward "V" effort?
I'm trying to find: "-addstyle", and "-onTerminate". As a general answer, where should I look to find what these are?
For -addstyle have a look in GUI_Options.cpp, in the function ParseWindowOptions.
For -onTerminate have a look in Window.cpp, in the function Window_onEvent. Cheers, jez.