go top

multiple dispatch

  • 多重分派:一种编程范式,根据多个参数的类型来选择调用哪个函数或方法。

网络释义英英释义

  多重分派

我们希望通过多重分派multiple dispatch ),能够为一个函数所有可能的参数选出最有效的执行方法。这些参数可能有着不同的定义,来自不同的数据类型,却能提供相同的功能...

基于34个网页-相关网页

短语

multiple tasks dispatch algorithm 多任务调度算法

Multiple dispatch

  • abstract: Multiple dispatch or multimethods is the feature of some object-oriented programming languages in which a function or method can be dynamically dispatched based on the run time (dynamic) type of more than one of its arguments. This is an extension of single dispatch polymorphism where a method call is dynamically dispatched based on the actual derived type of the object on which the method has been called.

以上来源于: WordNet

双语例句

  • Listing 1. Multiple dispatch on type with multimethods.py.

    清单1 . multimethods . py类型进行分派

    youdao

  • Another prior Charming Python column developed and presented a library to enable multiple dispatch.

    可爱的Python先前另一期文章开发描述了支持分派

    youdao

  • But predicative dispatch is a very elegant extension of multiple dispatch on (narrow) types alone.

    但是断言分派(狭窄)类型本身进行分派的好的扩展

    youdao

更多双语例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定