Revert "refactor: rewrite FastPath class (#6225)" (#6226)
Revert "refactor: rewrite FastPath class (#6225)" (#6226)

This reverts commit e068c318b46b8cec52b3190a7ac45b5dab888b6f.
rattrayalex/prettier,prettier/prettier,rattrayalex/prettier,prettier/prettier,jlongster/prettier,existentialism/prettier,rattrayalex/prettier,prettier/prettier,existentialism/prettier,existentialism/prettier,existentialism/prettier,prettier/prettier