Blender Git Loki
Git Commits -> Revision 45bd8fd
Revision 45bd8fd by Jacques Lucke (master) September 9, 2020, 11:44 (GMT) |
BLI: new string search api that supports fuzzy and prefix matching This adds a generic string search library in `BLI_string_search.h`. The library has a simple to use C api that allows it's users to filter and sort a set of possible search results based on some query string. Reviewers: Severin Differential Revision: https://developer.blender.org/D8825 |
Commit Details:
Full Hash: 45bd8fdc2b086e994fa3e907a64e587013112603
Parent Commit: 4ccd5bf
Lines Changed: +579, -0
3 Added Paths:
/source/blender/blenlib/BLI_string_search.h (+51, -0) (View)
/source/blender/blenlib/intern/string_search.cc (+475, -0) (View)
/source/blender/blenlib/tests/BLI_string_search_test.cc (+50, -0) (View)
/source/blender/blenlib/intern/string_search.cc (+475, -0) (View)
/source/blender/blenlib/tests/BLI_string_search_test.cc (+50, -0) (View)
1 Modified Path:
/source/blender/blenlib/CMakeLists.txt (+3, -0) (Diff)