The basic idea is that instead of having one list with items that have an enumeration with three different states, you can have three lists where membership implies the enum state, obviating the need to store the enum value in the item anymore, thus saving space and improving cache locality.
In this video we attach some alligator clips to a handful of AA battery holders. I was planning to use these for a Learning the Art of Electronics experiment that I didn’t understand, but now that I understand the problem a bit better I don’t want to go short-circuiting five AA batters… that would be a bad idea!
Thanks very much for watching! And please remember to hit like and subscribe! :)
Following is a product I use picked at random from my collection which may appear in my videos. Clicking through on this to find and click on the green affiliate links before purchasing from eBay or AliExpress is a great way to support the channel at no cost to you. Thanks!