active-logic / active-logic/xgoap

Allow planning actions to clone and return model state

Aperta
#37 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
C#
Stelle
76
Fork
8
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

A custom clone method is helpful; allowing planning actions to provide their own has advantages:
- A planning action knows what state it modifies. With a well structured model planning action can return a shallow copy, with only relevant sections re-allocated (uses less memory)
- In turn this makes equality compares much faster, because un-modified refs can be detected right away.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.