master
Allen Webster 2019-06-15 12:06:14 -07:00
parent e274bb9120
commit 27e12b8b0d
1 changed files with 14 additions and 1 deletions

View File

@ -7,7 +7,20 @@
#if !defined(FCODER_SEARCH_H) #if !defined(FCODER_SEARCH_H)
#define FCODER_SEARCH_H #define FCODER_SEARCH_H
typedef i32 Seek_Potential_Match_Direction; /* TODO(allen):
Time to rewrite _ALL_ of this s***f.
1. String matching optimization study
2. Redesign and reimplement find_all_in_range
3. Filtering and reversing string lists
4. Clean prefix match iterator
5. Reimplement commands in 4coder_search.cpp
6. Ditch all the old s***f we don't want anymore
7. Reorganize, rename, etc.
*/
typedef i32 Seek_Potential_Match_Direction;
enum{ enum{
SeekPotentialMatch_Forward = 0, SeekPotentialMatch_Forward = 0,
SeekPotentialMatch_Backward = 1, SeekPotentialMatch_Backward = 1,