MyCache
bool same_result = (MyCache[n].last_used && MyCache[n].last_bufp == bufp);
if (LAST_SEQ < MyCache[best].sequence) {
#define FIX_SGR0 MyCache[CacheInx].fix_sgr0
#define LAST_TRM MyCache[CacheInx].last_term
#define LAST_BUF MyCache[CacheInx].last_bufp
#define LAST_USE MyCache[CacheInx].last_used
#define LAST_SEQ MyCache[CacheInx].sequence
twalk(MyCache, visit_nodes);
tdelete(ptr, &MyCache, cmp_format);
twalk(MyCache, visit_nodes);
if ((ft = tfind(result, &MyCache, cmp_format)) != 0) {
if (tsearch(fs, &MyCache, cmp_format) != 0) {