Skip to content

Fetch time at start of routing #2483

Description

@TheBlueMatt

At #1789 (comment) @jkczyz discovered that (on macOS, but less so on Linux, probably also iOS) our router ends up spending a lot of time fetching the current time to figure out how to decay scorer bounds. At some point we need to either (a) create a "scorer context" that gets created at the start of a route-finding pass to cache the current time or (b) add a timer tick to the ProbabilisticScorer to give it the current time and do the decay'ing outside of route-fetching.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions