室性期前收缩是什么意思| 颈椎曲度变直是什么意思| 梦见自己家盖房子是什么预兆| 甲状腺回声不均匀什么意思| 输卵管堵塞是什么原因| ebay什么意思| 鸭子喜欢吃什么食物| 霸王龙的后代是什么| 太阳穴长痘是什么原因| 梦见自己请客吃饭是什么意思| on是什么牌子| 气管憩室什么意思| 梅毒是什么| 抗核抗体阳性是什么意思| 11.1是什么星座| 夜半是什么时辰| 盐和醋泡脚有什么好处| 范思哲是什么品牌| 羊脑炎什么症状怎么治| 吃什么能养胃| 核能是什么| 粉色象征着什么| 梦见钓了好多鱼是什么意思| 米诺地尔搽剂和米诺地尔酊有什么区别| 清明节是什么时候| 什么风什么月| 投诉与举报有什么区别| 远在天边近在眼前是什么意思| 嗓子嘶哑吃什么药| 起酥油是什么东西| 女孩缺金取什么名字好| 捭阖是什么意思| 射手座是什么象星座| 棕色皮鞋配什么颜色裤子| 香奈儿是什么品牌| 五月初六是什么星座| 手足口病用什么药| 圣女是什么生肖| 包饺子剩下的面团能做什么| 什么的流淌| 鼓包是什么意思| 梦见自己离婚是什么预兆| 喝什么茶不影响睡眠| 211是什么意思| 一直想大便是什么原因| 黄金果是什么水果| 值神是什么意思| 走读是什么意思| 中国人为什么要学英语| 晚上尿多是什么病| 思维跳脱是什么意思| 不排便是什么原因| 做爱为什么舒服| 省检察长是什么级别| 多种维生素什么时候吃效果最好| 吃完羊肉不能吃什么水果| 女性看乳房应该挂什么科| 外阴是指什么部位| 六味地黄丸什么时候吃| 康波是什么意思| 梦见把老鼠打死是什么意思| 脑门出汗多是什么原因| 细菌性阴道炎吃什么药好| 娘子啊哈是什么歌| 列文虎克发现了什么| 洗银首饰用什么清洗| 农历六月十七是什么日子| 清洁度1度是什么意思| 故人什么意思| 马甲线长什么样| 纪梵希为什么不娶赫本| 牛肉和什么炒最好吃| 蜈蚣吃什么食物| 胃火旺喝什么茶| 什么首什么尾| 左手大拇指麻木是什么原因| 睫毛炎有什么症状| 深度水解奶粉是什么意思| 香蕉像什么比喻句| 菊花泡水喝有什么好处| 最短的季节是什么| 穿山甲说了什么| 燕窝是补什么的| 北斗是什么| 舌面上有裂纹是什么病| sp是什么意思啊| 油蜡皮是什么皮| 月经推迟挂什么科| 容易出汗是什么原因| 脉络是什么意思| 梦见自己给别人钱是什么意思| 梨花是什么颜色的| 冬至穿什么衣服| 耽美是什么| 猪油用什么容器装好| 1957年属什么生肖| 红皮鸡蛋和白皮鸡蛋有什么区别| 心血管堵塞吃什么好| 劝君更尽一杯酒的下一句是什么| 原图是什么意思| 郁郁寡欢什么意思| 碱水对人有什么危害| 无故流鼻血是什么原因| 生化了是什么意思| 干咳喝什么止咳糖浆好| 有什么有什么四字词语| vb610是什么药| 盆腔炎吃什么药效果好| 胡萝卜含有什么维生素| 女生送男生什么礼物好| 大泽土是什么生肖| 大山羊是什么病| 穿什么颜色衣服显白| 山东登州府现在叫什么| 2020年是什么命| 甲流吃什么药| 攻是什么意思| 血虚吃什么| ve是什么意思| 人活着意义是什么| 炖鸭汤放什么食材最好| 一唱一和是什么生肖| 纳粹是什么意思| 肩周炎口服什么药最好| 尿常规能查出什么| 二脚趾比大脚趾长代表什么| 耳洞为什么会发臭| 上海有什么好玩的| 金鸡报晓是什么意思| 神经性头痛吃什么药好| 支配是什么意思| 绿茶用什么茶具泡好| 苯甲酸钠是什么| 安哥拉树皮有什么功效| 什么东西有助于睡眠| 大胯疼是什么原因引起| 白斑用什么药膏| 前胸后背长痘痘是什么原因| 灰飞烟灭是什么意思| 深海鱼油有什么作用| 政协委员是干什么的| 猫咪黑下巴是什么原因| 双一流大学是什么意思| 喘息是什么意思| 水能是什么| sars是什么意思| 孕妇过敏可以用什么药| 脉络膜裂囊肿是什么病| 肺主皮毛是什么意思| 3ph是什么意思| 诺如病毒是什么病| 学中医需要什么学历| 来月经适合吃什么水果| 梦到离婚是什么征兆| 梦见葱是什么意思| dm什么意思| 蒲公英和什么相克致死| 望穿秋水的意思是什么| 婴儿便秘怎么办什么方法最有效| 塑胶厂是做什么的| 胎毛是什么| 今年53岁属什么生肖| 短发女人吸引什么男人| 什么叫潮吹| 为什么夏天容易掉头发| 什么是脂溢性脱发| 确幸是什么意思| 猫是什么动物| 什么发型适合自己| 心率高是什么原因| 警察是什么编制| 失足是什么意思| 尿频尿急尿不尽吃什么药最快见效| 南瓜子不能和什么一起吃| 痰湿是什么意思| 老枞是什么茶| 好运是什么生肖| 脑ct都能查出什么病| 男模是什么| poss是什么意思| 肾火旺有什么症状| 山药跟淮山有什么区别| 县级以上医院是指什么| 煽是什么意思| 9月25日是什么星座| 属羊的守护神是什么菩萨| 十二生肖排第一是什么生肖| 梦见被狗咬是什么意思| 乾隆叫什么| 肛门下坠是什么原因| 美味佳肴是什么意思| 耳钉后面的塞子叫什么| ugg是什么品牌| 太阳穴疼是什么原因| 为什么叫西瓜| 食道炎是什么症状| 什么颜色的床单有助于睡眠| 严什么什么重| 什么狗不咬人| 回奶什么意思| 锁骨窝疼可能是什么病| 矽肺病是什么症状| 眉头长痘痘什么原因| 讳莫如深是什么意思| 睡觉为什么会流口水| 美女的阴暗是什么样的| 鸡眼长什么样| 化学专业学什么| 伤残鉴定什么时候做| 什么体质不易怀孕| 农历8月13日是什么星座| 什么程度下病危通知书| 人肉是什么味道| 眩晕症有什么症状| 回迁房是什么意思| 7月17号是什么星座| 病毒的遗传物质是什么| 梦见很多蛇是什么意思| 子宫脱落是什么原因引起的| 摩什么接什么| 1971属什么生肖| 敖虫读什么| 日入是什么时辰| 梦见买肉是什么意思| 不由自主的摇头是什么病| marisfrolg是什么牌子| hp医学上是什么意思| 头痛做什么检查| 什么帽不能戴| 四方草地是什么生肖| 于文华朱之文什么关系| bra什么意思| 老年人经常头晕是什么原因造成的| 穹隆什么意思| 看破红尘什么意思| 洋参片泡水喝有什么功效| 罗汉果有什么作用| 非萎缩性胃炎吃什么药效果好| 梦见自己梳头发是什么意思| 佳木斯二院全名叫什么| 关联词是什么意思| 对对子是什么意思| 2018年属什么生肖| 脚底发凉是什么原因| 梦见被雷劈什么意思| 洗面奶什么牌子好| 嘴干是什么病的征兆| 小腿长痣代表什么意思| 什么食物含碘| 上面一个日下面一个立是什么字| 肌钙蛋白高说明什么| 善哉善哉是什么意思| 空调有异味是什么原因| 疗愈是什么意思| 背后长痘痘是什么原因| 血糖高什么水果不能吃| 威化是什么意思| 1999年出生属什么生肖| 盆腔炎吃什么消炎药| 不知餍足什么意思| 行政许可是什么意思| 大头虾是什么意思| 中医行业五行属什么| 蝶变是什么意思| 百度Jump to content

媒婆是什么意思

From Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
百度 类似于这样的事情其实在历史上也有发生,最典型的就是“孟母三迁”了。

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

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

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

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

References

Further reading

clinique是什么牌子的化妆品 什么叫粉丝 领结婚证需要带什么材料 异质性是什么意思 瓜子脸适合剪什么发型
无下限是什么意思 下午一点是什么时辰 什么呢 爸爸的姥姥叫什么 汗毛重的女人意味着什么
激动是什么意思 癔病是一种什么病 肾结石可以喝什么饮料 梦到自己的妈妈死了是什么意思 你在左边我紧靠右是什么歌
戒备心是什么意思 什么东西不能一起吃 4月23日是什么日子 中间细胞百分比偏高是什么意思 阑尾炎检查什么项目
淀粉可以用什么代替hcv8jop1ns1r.cn 艾是什么意思hcv7jop5ns1r.cn 什么中药补肾hcv9jop7ns0r.cn 男人好难做人好难是什么歌yanzhenzixun.com 低血压吃什么好的最快hcv8jop0ns2r.cn
无头鱼是什么鱼hcv8jop2ns4r.cn 什么是甲醛hcv8jop7ns6r.cn 身上起红疙瘩是什么hcv7jop5ns2r.cn 荣字五行属什么baiqunet.com 白气是什么物态变化hcv7jop4ns5r.cn
扁的桃子叫什么名字imcecn.com 白带是什么味道hcv8jop9ns3r.cn 北瓜是什么瓜chuanglingweilai.com 胃经当令是什么时辰hcv8jop1ns1r.cn 家里为什么有隐翅虫hcv8jop7ns0r.cn
安罗替尼适合什么肿瘤hcv8jop9ns1r.cn 胃胀气是什么原因hcv8jop4ns2r.cn 九月什么星座hcv8jop7ns8r.cn 生化妊娠是什么原因导致的hcv9jop8ns0r.cn 掉头发吃什么药最有效hcv9jop3ns0r.cn
百度