眼睛屈光不正是什么意思| 迎风流泪用什么眼药水| 情绪是什么意思| 孕妇为什么不能吃韭菜| 鼻子干燥吃什么中成药| 腰椎穿刺是检查什么的| 喝酒前吃什么保护胃| 什么叫佛| 夏天适合喝什么养生茶| 91年的属什么生肖| 庆帝为什么杀叶轻眉| 黄加黑变成什么颜色| 9月3号是什么日子| 拉绿粑粑是什么原因| 在什么位置| 什么是气溶胶| 梦见耗子是什么预兆| 右手有点麻是什么原因| 面基什么意思| 高温中暑吃什么药| 咳白色泡沫痰吃什么药| ca是什么元素| 凌晨两点是什么时辰| 辰龙是什么意思| 雾化对小孩有什么影响或者副作用| 成本倒挂什么意思| 一什么手表| 指甲盖上有竖纹是什么原因| 扁桃体肥大是什么原因造成的| 1007是什么星座| rsp是什么意思| 气胸是什么意思| 赶集什么意思| mm是什么意思单位| 公元500年是什么朝代| 为什么胆固醇高| 刘德华属什么生肖| 英国为什么叫日不落帝国| 宋江代表什么生肖| cv是什么意思| 前列腺液是什么| 眉毛淡的男人代表什么| 治疗神经痛用什么药最有效| 肿瘤患者吃什么药可以抑制肿瘤| 什么奶茶好喝| youtube是什么软件| 白细胞低是什么原因造成的| 胎心停了会有什么症状| 短装是什么意思| 什么是七情六欲| 苏州为什么不建机场| 福州立冬吃什么| mj什么意思| 什么是奇数什么是偶数| 薏米不能和什么一起吃| 嗜碱性粒细胞偏低说明什么| 什么条什么理| 大便水状是什么原因| 九月十号什么星座| 男人为什么喜欢大胸| 梦见花蛇是什么预兆| 15朵玫瑰花代表什么意思| 脑萎缩吃什么药| 单男是什么意思| 三月初什么星座| 安踏高端品牌叫什么| 之际是什么意思| 舒肝健胃丸治什么病| 幺妹是什么意思| 黑色柳丁是什么意思| 房东是什么意思| 便秘吃什么好| 今天吃什么菜好呢| 皮肤湿疹用什么药膏| 宜家宜室什么意思| 嗓子痒咳嗽是什么原因| 婴儿吐泡泡是什么原因| 肚子胀气吃什么食物好| 肚子疼吃什么药好| 去化是什么意思| 烽烟是什么意思| 腿水肿是什么原因| 颈椎病挂什么科| 什么的蚜虫| 为什么会得焦虑症| 甚嚣尘上什么意思| 毒奶粉是什么游戏| 后背酸疼是什么原因| 贫血吃什么补的快| 猪心炖什么补气补血| 大腿内侧发黑是什么原因| 拔罐出水泡是什么原因| 秋天穿什么衣服| 与虎谋皮是什么意思| 国企董事长是什么级别| 什么是无纺布| 流鼻子打喷嚏吃什么药| 癫痫不能吃什么| 腹部彩超能查出什么| 黄豆煲汤搭配什么最好| hscrp高是什么感染| 璎珞是什么意思| 左手虎口有痣代表什么| 男人跑马是什么原因| 你算什么东西| 夏天喝绿茶有什么好处| 一什么小狗| 26是什么意思| 螃蟹吃什么| 什么的亮光| 2月19日什么星座| 截胡什么意思| 缺钾吃什么| 梦见抓鱼是什么预兆| 前列腺实质回声欠均匀什么意思| 清明节的习俗有什么| 韦编三绝是什么意思| 孩子注意力不集中是什么原因| 梦见好多老鼠是什么意思| 头顶痛吃什么药效果好| 贝贝是什么意思| 炖鸡放什么调料| 腿肿是什么病的前兆| 霍山石斛有什么作用| 3.15是什么星座| 女生被插是什么感觉| 经常眨眼睛是什么原因| acu是什么| 太后是皇上的什么人| 为什么吐后反而舒服了| 撒是什么意思| rap是什么意思| 造影检查是什么意思| 睾丸疼是什么原因| 排卵是什么意思| mua什么意思| 春秋大梦是什么意思| 开场白是什么意思| 为什么月经不来| 梦魇是什么意思| 头发容易油是什么原因| 铭五行属什么| 黑色鸟是什么鸟| ace是什么意思| 生肖鼠和什么生肖最配| 肠系膜多发淋巴结是什么意思| 孕妇吃什么补血| 白兰地是什么酒| 什么的寒冷| 成人发烧38度吃什么药| 孕妇为什么要左侧睡不能右侧睡| 95年属什么| 中国精神是什么| 玉米淀粉可以用什么代替| 心电图逆钟向转位什么意思| 江西什么最出名| 梦见杀人是什么意思| 劲旅是什么意思| 芒果什么人不适合吃| 阿胶补血口服液适合什么人喝| 梦见和死去的亲人说话是什么意思| 分散片是什么意思| 宝宝经常发烧是什么原因| 元气什么意思| 胡萝卜炒什么好吃| 什么时间量血压最准确| 心乱如什么| 人乳头瘤病毒33型阳性是什么意思| 艾灸能治什么| 来例假头晕是什么原因| 嘈杂是什么意思| 猫咪结膜炎用什么药好| 跨境电商是做什么的| 牛字五行属什么| 蛞蝓是什么意思| 腰椎间盘突出看什么科| 授人以鱼不如授人以渔什么意思| 淋巴结钙化是什么意思| 王加民念什么| 嘴角生疮是什么原因| chick什么意思| 一五行属性是什么| os是什么| 嘛呢是什么意思| 今天吃什么| 孽障是什么意思| 嗓子哑是什么原因引起的| 牙龈长期出血是什么原因| 雪球是什么| 呼吸不顺畅是什么原因| 摇花手是什么意思| 尧五行属什么| aoerbo是什么牌子的手表| 婴儿腹泻吃什么好| 无痛肠镜和普通肠镜有什么区别| 壮字五行属什么| 鬼迷心窍是什么意思| rock什么意思| 腊月是什么生肖| zero是什么牌子| 吹空调感冒咳嗽吃什么药| 什么叫制动| 肛周湿疹用什么药膏效果好| 平平仄仄是什么意思| 梅毒检查挂什么科| opo是奶粉里的什么成分| 性激素六项是什么| 梦见请客吃饭是什么意思| 无性恋是什么| 娃娃脸是什么意思| 什么是葡萄胎| 结核抗体阳性说明什么| 左肾轻度积水是什么意思| 春回大地是指什么生肖| 十二指肠溃疡是什么症状| 经典是什么意思| 艳阳高照是什么生肖| 胃痛按什么部位可以缓解疼痛| 槲皮素是什么东西| 抗皱用什么产品好| 生姜红糖水有什么作用| 六根不净是什么意思| 笔名是什么意思| 馥是什么意思| 拔牙后吃什么恢复快| 血糖查什么项目| 身上长红点很痒是什么原因| 12min是什么意思| 肺炎有什么症状| dhea是什么| 痔疮不能吃什么食物| 50岁今年属什么生肖| 凉爽的什么| 手麻挂什么科最好| 脸红是什么原因引起的| 心肌炎吃什么食物最好| 间接胆红素是什么意思| 宝宝发烧吃什么药| 高血脂吃什么药效果好| 龟头炎是什么症状| 2.4号是什么星座| 头发秃一块是什么原因| 耳朵里面痒是什么原因| 一什么不| hcy是什么意思| 芝五行属什么| 单核细胞偏高是什么意思| 一什么木屋| 未土是什么土| 手指指尖发麻是什么原因| 经常嘴苦是什么原因| 人日是什么意思| 防冻液红色和绿色有什么区别| 像什么似的| 手指长倒刺是什么原因| 8月17号是什么日子| 逆来顺受什么意思| 一千年前是什么朝代| 做梦梦见火是什么意思| 流鼻涕咳嗽吃什么药| 女主是什么意思| 4月17日是什么星座| 什么什么自如| 非洲割礼是什么| 百度Jump to content

《自然传奇》 20180324 狮子兄弟

From Wikipedia, the free encyclopedia
百度 此外,美国政府还计划对中国施加限制。

In computer science, run-time algorithm specialization is a methodology for creating efficient algorithms for costly computation tasks of certain kinds. The methodology originates in the field of automated theorem proving and, more specifically, in the Vampire theorem prover project.

The idea is inspired by the use of partial evaluation in optimising program translation. Many core operations in theorem provers exhibit the following pattern. Suppose that we need to execute some algorithm in a situation where a value of is fixed for potentially many different values of . In order to do this efficiently, we can try to find a specialization of for every fixed , i.e., such an algorithm , that executing is equivalent to executing .

The specialized algorithm may be more efficient than the generic one, since it can exploit some particular properties of the fixed value . Typically, can avoid some operations that would have to perform, if they are known to be redundant for this particular parameter . In particular, we can often identify some tests that are true or false for , unroll loops and recursion, etc.

Difference from partial evaluation

[edit]

The key difference between run-time specialization and partial evaluation is that the values of on which is specialised are not known statically, so the specialization takes place at run-time.

There is also an important technical difference. Partial evaluation is applied to algorithms explicitly represented as codes in some programming language. At run-time, we do not need any concrete representation of . We only have to imagine when we program the specialization procedure. All we need is a concrete representation of the specialized version . This also means that we cannot use any universal methods for specializing algorithms, which is usually the case with partial evaluation. Instead, we have to program a specialization procedure for every particular algorithm . An important advantage of doing so is that we can use some powerful ad hoc tricks exploiting peculiarities of and the representation of and , which are beyond the reach of any universal specialization methods.

Specialization with compilation

[edit]

The specialized algorithm has to be represented in a form that can be interpreted.

In many situations, usually when is to be computed on many values of in a row, can be written as machine code instructions for a special abstract machine, and it is typically said that is compiled. The code itself can then be additionally optimized by answer-preserving transformations that rely only on the semantics of instructions of the abstract machine.

The instructions of the abstract machine can usually be represented as records. One field of such a record, an instruction identifier (or instruction tag), would identify the instruction type, e.g. an integer field may be used, with particular integer values corresponding to particular instructions. Other fields may be used for storing additional parameters of the instruction, e.g. a pointer field may point to another instruction representing a label, if the semantics of the instruction require a jump. All instructions of the code can be stored in a traversable data structure such as an array, linked list, or tree.

Interpretation (or execution) proceeds by fetching instructions in some order, identifying their type, and executing the actions associated with said type.

In many programming languages, such as C and C++, a simple switch statement may be used to associate actions with different instruction identifiers. Modern compilers usually compile a switch statement with constant (e.g. integer) labels from a narrow range by storing the address of the statement corresponding to a value in the -th cell of a special array, as a means of efficient optimisation. This can be exploited by taking values for instruction identifiers from a small interval of values.

Data-and-algorithm specialization

[edit]

There are situations when many instances of are intended for long-term storage and the calls of occur with different in an unpredictable order. For example, we may have to check first, then , then , and so on. In such circumstances, full-scale specialization with compilation may not be suitable due to excessive memory usage. However, we can sometimes find a compact specialized representation for every , that can be stored with, or instead of, . We also define a variant that works on this representation and any call to is replaced by , intended to do the same job faster.

See also

[edit]

References

[edit]

Further reading

[edit]
uv是什么材质 1月4号是什么星座 排骨炖什么比较好吃 什么食物补血效果最好最快 中药地龙是什么
手淫会导致什么疾病 梦见别人生孩子预示什么 中出是什么意识 尿道口有烧灼感为什么 换手率是什么意思
mra是什么药 面瘫挂什么科室 脚脱皮用什么药 包粽子用什么米 什么是消融手术
阴道排气是什么原因 补肾虚吃什么药最好 小便尿道刺痛吃什么药 睡觉起来嘴巴苦是什么原因 验孕棒阳性代表什么
团长相当于地方什么官hcv8jop7ns9r.cn 胎盘什么时候形成hcv9jop7ns3r.cn 肝囊肿是什么原因引起的hcv9jop4ns4r.cn 痛经喝什么可以缓解hcv9jop6ns2r.cn 女生的阴道长什么样hcv8jop6ns5r.cn
肝脏的作用是什么hcv8jop0ns3r.cn dha孕妇什么时候吃hcv9jop4ns5r.cn 外向是什么意思hcv8jop1ns6r.cn hpv阴性是什么意思hcv9jop7ns2r.cn 寒碜是什么意思fenrenren.com
鹿角菜是什么植物hcv9jop2ns7r.cn 刘亦菲为什么不结婚hcv8jop3ns4r.cn 总流口水是什么原因hcv9jop5ns3r.cn 哈西奈德溶液治什么病inbungee.com 耳朵里面疼用什么药hcv8jop2ns4r.cn
绝育手术对女性有什么危害hcv9jop7ns1r.cn 外包什么意思hcv8jop6ns9r.cn mirage轮胎什么牌子hcv9jop3ns7r.cn 1990年什么命hcv9jop5ns6r.cn 什么的山顶jasonfriends.com
百度