active-logic / active-logic/xgoap

Equality and hashing defaults

Offen
#35 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C#
Sterne
76
Forks
8
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Desirable because poorly implemented `Equals()` leads to solvers exceeding *maxIter* and/or *maxNodes*, negatively impacting dev workflow.
One possible route is via structs, but this implies a design effort (mutable structs are probably a poor choice; readonly structs will have restrictions impacting action design.
As an alternative, consider providing generic equality and hashing

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.