Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

Index toplevel of loadpaths #2

@trans

Description

@trans

Maybe a "2.0" API change. The idea is to index the toplevel of each libraries loadpath rather then just the library itself. In other words there would be a third index file that listed, in the the case of facets:

facets/        /.../lib/core/
facets/        /.../lib/more/
facets/        /.../lib/stnd/
facets.rb      /.../lib/core/
facets-live.rb /.../lib/core/
facets-load.rb /.../lib/core/

This could then be used to quickly match require/load paths, reducing the number of locations that need to be searched even for a traditional full-loadpath fallback search (currently the slowest part of the system).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions