-
Optimized-JS-V8
面向对象、设计模式与性能
有些C/C++开发者有些奇怪的观念。他们认为使用面向对象和设计模式会降低程序的性能。但V8证明了这种观念是错误的。V8的实现使用了许多设计模式,但依然非常高效。
下面列出V8中使用的两个模式:
工厂模式
当Javascript引擎执行一个脚本时,引擎为遇到的每个变量、函数或数组都创建一个实例。JSObject是所有这些对象的父对象(Object oriented, design patterns and performance
Some C/C++ developers have some strange ideas. They believe that the use of object-oriented and design patterns will reduce the performance of the program. But V8 proved that this idea is wrong. V8 implementation uses a number of design patterns, but still very efficient.
The following lists the two models used in V8:
Factory mode
When a Javascript engine s a script, the engine creates an instance of each variable, function, or array encountered by the engine. JSObject is the parent of all of these objects.)
- 2016-08-30 23:02:34下载
- 积分:1
-
youcheng
非常好的matlab代码,欢迎下载分享学习!!!(this is a very good!!!!!!!!!)
- 2012-04-19 19:16:10下载
- 积分:1
-
duogongnengdingshiqi
说明: 内有电路图和对应的程序,已经调试成功,能实现定时功能。(There are circuit diagrams and the corresponding procedures are debugging success, to achieve timing.)
- 2009-08-17 17:48:16下载
- 积分:1
-
MissionPlanner源程序
基于APM飞控的MissionPlanner地面控制站软件的源程序
- 2022-03-24 18:44:58下载
- 积分:1
-
niudunhuan
主要绘制了牛顿环的光强分布图,光强可在透射与反射箭转换。(The main draw of the Newton ring of light intensity distribution, light intensity can be converted in the transmission and anti-archery.)
- 2010-09-04 15:38:10下载
- 积分:1
-
robot
matlab 和VisualC++结合的写出工业机器人的实例(The example of industrial robotics is with matlab and VisualC++)
- 2011-08-16 19:38:08下载
- 积分:1
-
bianyiqi--pascal--siyuanshi
说明: 类pascal语言的编译器
语法分析后输出四元氏(Class pascal language compiler after parsing the output four Yuanshi)
- 2011-04-06 20:08:13下载
- 积分:1
-
point
用于点云切片功能的实现,非常好用,可以计算密度、厚度、等内容(For point cloud slicing feature to achieve very easy to use, you can calculate the density, thickness, etc.)
- 2020-06-29 01:40:02下载
- 积分:1
-
code
用VC++6.0开发的人事信息系统,调试成功,并附有源码及文档。供大家共同学习,希望对你们有帮助(With VC++ 6.0 Development of Personnel Information System, debugging success, together with source code and documentation. For everyone to learn, I hope for your help)
- 2009-01-04 14:51:42下载
- 积分:1
-
sarMatch
说明: 基于边缘特征的SAR图像与光学图像匹配,测度为Hausdorff距离(SAR images based on edge features and optical image matching, for the Hausdorff distance measure )
- 2020-10-12 09:57:32下载
- 积分:1