-
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
-
MK5238AProgram
电池保护板检测,检测电池的电压、电流和温度代码。 (Battery protection board testing, test the battery voltage, current and temperature code.)
- 2016-08-23 17:09:56下载
- 积分:1
-
wannianli
电子万年历设计,有程序和电路图,已经经过调试成功,希望对需要的人们,提供这一资料(Electronic calendar design, there are programs and schematics, has been successful commissioning hope that people need to provide this information)
- 2015-03-31 23:42:48下载
- 积分:1
-
ADC_PEC
英飞凌单片机使用pec中断的ad转换实例完整版(Infineon microcontroller interrupt the ad conversion using pec)
- 2021-03-25 13:59:14下载
- 积分:1
-
ADCzhuanhuan
单片微型计算机简称单片机,是典型的嵌入式微控制器(Microcontroller Unit),
单片机芯片
常用英文字母的缩写MCU表示单片机,单片机又称单片微控制器,它不是完成某一个逻辑功能的芯片,而是把一个计算机系统集成到一个芯片上。(Microcontroller chip microcomputer referred to, is a typical embedded microcontroller (Microcontroller Unit),
Single chip
Commonly used letters of the abbreviation indicates MCU microcontroller, microcontroller, also known as single-chip microcontroller, it is not complete a certain logic functions of the chip, but to a computer system integrated into a single chip.)
- 2013-09-10 20:10:24下载
- 积分:1
-
FIFO-master
说明: This is a generic FIFO buffer that can be used to store any kind of items. It is written in C language and can be compiled and used on almost any architecture. It was designed to be used on memory limited architectures such as microcontrollers. Examples of the applications that can be built with this library include:
- 2020-06-21 02:00:01下载
- 积分:1
-
chuankou_MFC
通过MFC实现上位机与下位机的串口通讯,可自配置。(Through MFC to achieve the host computer and the next bit machine serial communication, self configuration.)
- 2016-07-21 21:26:17下载
- 积分:1
-
I2C_IO_simulate
使用IO口模拟I2C时序,包括主机、从机时序。(Using IO port simulation I2C timing, including the host, the machine timing.)
- 2015-09-06 16:47:35下载
- 积分:1
-
MSP430
本程序是基于MP430的点阵显示程序,显示内容可在程序里更改(failed to translate)
- 2013-05-05 00:42:37下载
- 积分:1
-
tu
说明: c8051f020图片显示 不复杂 可以自己变换图片 第一次写这类的 不太好大家指出(the c8051f020 picture display pictures online to find the program)
- 2012-09-08 19:51:20下载
- 积分:1