Some simplifications to vtkParse depends tracking
Use some existing utility functions to simplify vtkParseDependencyTracking:
- use string pooling (
StringCache
) rather than a malloc/free for every string - use
vtkParse_AddStringToArray()
fromvtkParseData.h
for list of strings
Some issues with vtkParseData that could be improved upon:
- uses
int
for counts, could be changed tosize_t
(API change) - doesn't check
malloc()
return value