Closed jamesdanielv closed 5 years ago
i implemented a small i2c cache. it works even on arduino, however i think that the i2c even on arduino is cached a little as there is little boost currently. i'm going to take a further look at this as to why performance only improves slightly.
customSmallCacheForMemReads is not implemented. caching has been done on double resolution and some other areas, but caching is not yet done for ram reads from i2c.
this means that customSmallCacheForMemReads should be set to false. it might work on teensy, but it uses all 768 cells at a time for loading the cache. this uses too much memory for arduino 328 chip. however caching 32 -64 words of data at a time is the sweet spot for i2c efficiency. it will be implemented soon.
I think this is talked about in the help section or the readme, but i wanted it to be known here until i upload version with caching of the i2c sensor ram data reads.