gabs
gabs copied to clipboard
Support nested array wildcard deletion
This PR supersedes #95 by supporting wildcard deletes at all levels in a Container's hierarchy.
searchStrict has been refactored and renamed into searchPaths to provide return parameters that are both useful for Search and Delete methods.
The notion of path with its associated types path and paths has been introduced to reflect the multiplicity of paths that wildcards introduce.
Hey @Jeffail, it'd be great to have your thoughts on this PR. Thanks!
Hey @jlourenc, I'll need to put some proper time aside to understand fully what's going on here but we'd also need to leave Search unchanged, as this change would add unused allocations to a potentially hot path.
Sure @Jeffail , that makes sense. Let me revisit this PR not to impact the path of Search.
In the meantime, I've opened #115 to make Search faster when using wildcards.