Began dividing con_main.c into smaller chunks. We now have con_data.c which implements the various console databases (cvars, ccmds, knownwords, aliases) and rend_console.c which contains the console drawing routines. Since the various console databases were already being sorted I replaced their search mechanisms with those using a binary search to improve speed. Redesigned knownword searching. Should now be much faster and if the search term does not change between searches - the previous results are re-used. Starting separating the various console mechanisms into more object like entities. We now have a buffer object for example.
Began dividing con_main.c into smaller chunks. We now have con_data.c which implements the various console databases (cvars, ccmds, knownwords, aliases) and rend_console.c which contains the console drawing routines.
Since the various console databases were already being sorted I replaced their search mechanisms with those using a binary search to improve speed.
Redesigned knownword searching. Should now be much faster and if the search term does not change between searches - the previous results are re-used.
Starting separating the various console mechanisms into more object like entities. We now have a buffer object for example.