Find Paths If the first character is a ‘/’ the path is a Segment or absolute path within a Site. If the first character is a ‘,’ the path is a child Part relative to the current Branch. If the first character is a ‘-’ the path is a child Time relative to the current Branch. If the first character is a ‘+’ the path is a child Number relative to the current Branch. If the first character is a valid Host character then the path is an Identity which could be a “Host” or “Host/Segment” path. Notes The Branch is designed to have a fairly small footprint in memory, less than 200 bytes, to allow much if not all of a Site to be in memory resulting is very fast iteration through or querying of Branches. The File or the data that is part of a Branch is not necessarily in memory and will be loaded only on demand. The algorithms are optimized to find a particular type of child Branch. Slightly different approaches are used for a Part, Time, or Number. |