From 1623277c854e1c7073bfb84442ac92edaaf2ec9d Mon Sep 17 00:00:00 2001 From: "T.v.Dein" Date: Tue, 11 Jun 2024 23:08:49 +0200 Subject: [PATCH] Update TODO.md: add pointer idea, try ecs --- TODO.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TODO.md b/TODO.md index 9e4255e..151dd37 100644 --- a/TODO.md +++ b/TODO.md @@ -7,6 +7,8 @@ - history: dont count age but do calc to get index to age tile based on cell age - maybe pre calc neighbors as 8 slice of pointers to neighboring cells to faster do the count see various-tests/perf-2dim-pointers/: it's NOT faster :( +- use an array of 8 pointers to neighbors. on edge just add either fake dead neighbors or the wrap around neighbors. +- try arche ecs variant with either a component of the cells neighbors or using relations. - https://mattnakama.com/blog/go-branchless-coding/ - add performance measurements, see: DrawTriangles: https://github.com/TLINDEN/testgol