ChefIsAwesome
V2EX  ›  问与答

有没有哪个专门的名词描述这种函数?

  •  
  •   ChefIsAwesome · Oct 16, 2017 · 1486 views
    This topic created in 3286 days ago, the information mentioned may be changed or developed.

    对某个函数 fn = (a, b) -> c

    如果传入的参数与上一次传入的参数相同,则直接返回上一次执行的结果。跟 memoize 不同,它只保存前一次执行的结果,而不是所有的结果。

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3335 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 12:47 · PVG 20:47 · LAX 05:47 · JFK 08:47
    ♥ Do have faith in what you're doing.