Glossary: Algorithms Beyond the Basics in Go
Decorator
Also written: @cache
In some languages, a function that wraps yours to add behavior such as a memo. Go has none, so you write the memo map yourself.
Glossary: Algorithms Beyond the Basics in Go
Also written: @cache
In some languages, a function that wraps yours to add behavior such as a memo. Go has none, so you write the memo map yourself.