abcxyz / abcxyz/abc

Cache the results of go-template execution

Aperta
#32 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
good first issue performance
Lingua principale
Go
Stelle
16
Fork
4
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### TL;DR

In render_action.go, we use the Go `text/template` library to "execute" a string that may contain template expression like `Hello, {{.person}}`. In some cases we might execute the same template repeatedly, and we might be able to save time by caching the results instead executing the same template string again.

We should wait to do this until we have some evidence that our existing approach isn't fast enough.

### Detailed design

_No response_

### Alternatives considered

_No response_

### Additional information

_No response_

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.