Skip to content

Find a faster way to find project folders in the tree #1840

Closed

Description

@DanTup

Enumerating all the folders seems like it can be slow:

#1819 (comment)

Maybe there's a better way we can do this (eg. get a list of all pubspec.yamls from the FS within the top 3 levels without having to hit the FS so much).

Activity

  1. added this to the v3.3.0 milestone on Jul 8, 2019
  2. added a commit that references this issue on Jul 9, 2019
  3. DanTup commented on Jul 9, 2019

    @DanTup
    MemberAuthor

    Tried a few things, but generally they were much worse (on my MacBook Pro at least):

    #1819 (comment)

    (Though the original code only took 100ms here for 1000 projects, which is nothing like the 100ms-per-exists-check seen in the original profile).

  4. modified the milestones: v3.3.0, v3.4.0 on Jul 10, 2019
  5. added a commit that references this issue on Jul 10, 2019
  6. modified the milestones: v3.4.0, v3.5.0 on Aug 28, 2019
  7. DanTup commented on Sep 19, 2019

    @DanTup
    MemberAuthor

    Fixed by #2003.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions