Simplify fast path in ArchiveModel::parentFor
Instead of splitting the path and comparing its pieces compare the whole strings. This simplifies the code and makes it easier to get rid of the costly string splitting in the future
Please register or sign in to comment