Skip to content

Methods relative() and isWithin() should be faster when work with absolute paths #495

@scheglov

Description

@scheglov

@munificent @nex3 @bwilkerson

I tried to rollback our AbsolutePathContext and switch to package:path version 1.3.7.
Unfortunately it is still slow.
As you can see, it uses about 30% of total analysis time.

image

For comparison, with our AbsolutePathContext the method isWithin is barely visible.
image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions