I need to write a basic code indexer, which needs to be fast. Should I use an embedded SQLite database for this or should rather rely on a custom data structure, or even flat files as used by ctags?
Some of my requirements:
- Find all references of a variable.
- Go to function implementation
Any pointers to docs explaining the theory behind code indexing (and the relevant data structures would be greatly appreciated).