ekolis / ekolis/FrEee

Pathfinding is way too slow

Open
#74 15 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
86
Forks
14
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
Pathfinding bogs down when you start building moderate numbers of ships and/or exploring moderate numbers of star systems. (Not sure what's triggering it.)

**To Reproduce**
Steps to reproduce the behavior:
1. Play the game for a while.
2. Process a turn

**Expected behavior**
Turn should process in a reasonable amount of time.

**Actual behavior**
Turn takes forever due to pathfinding.

**Screenshots**
N/A

**Additional context**
This seems to be caused by finding warp point exits which is calling ability lookup functions over and over again... We can't cache abilities here, can we?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.