why memoization is not a language feature?

后端 未结 11 754
无人及你
无人及你 2021-01-31 09:00

I was wondering... why memoization is not provided natively as a language feature by any language I know about?

Edit: to clarify, what I mean is that th

11条回答
  •  甜味超标
    2021-01-31 09:15

    Not all the languages natively support function decorators. I guess it would be a more general approach to support rather than supporting just memoization.

提交回复
热议问题