You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/sgp_mode/DevNotes.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,6 @@
5
5
* Move ProcessSymOutputBuffer into SGPSymbiont to parallel host
6
6
* Move SymDoMutation into SGPSymbiont to parallel host
7
7
* Look at whether can move SymDonateToHost and SymStealFromHost into SGPSym
8
-
* Look at fun_host_sym_stress_trans_compatibility_check to try to reduce code duplication of task-profile setups, possibly with decorator pattern, but also definitely just in own file
9
8
* Move world properties back into protected and make necessary accesssors
10
9
* Rename "SetReproCount" to lineage length since it's confusing (or did I already?)
11
10
* Look into what is going on with SGPHost local sgp_config not working
@@ -31,6 +30,8 @@
31
30
- Decisions made: reproduce is shared between horizontal transmission and free-living sym reproduction. If free-living sym repro is on, then reproduce places offspring into sym pop (like in default), and then offspring can infect with Infect instruction (not yet implemented). If FLS is off, reproduce does horizontal transmission. Also decided that if HT is off, an "attempt" is not counted.
32
31
[x] Try to fold ProcessStressEscapees into existing code/reduce duplication
33
32
- Initially we attempted to turn ReproductionQueue into a birth queue, however this hurts performance. ReproductionQueue will skip organisms who have died and therefore should not reproduce before Reproduce() is called. With a birth queue, the children would already be constructed. This uses more memory and wastes resources on construction. Instead ProcessStressEscapees was moved into a signal.
33
+
[x] Look at fun_host_sym_stress_trans_compatibility_check to try to reduce code duplication of task-profile setups, possibly with decorator pattern, but also definitely just in own file
34
+
- Completed with above refactor. Now does not rely on parents as they may be dead at the time of reproduction (stress escapees). This change allowed processing escapees to be streamlined
0 commit comments