-
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
-
945909!Wininet_获取网页内容_已调试通过
说明: 查看网页的内容,com编程,内有详细的解说,适合有一定基础的人下载.(check the content of the website, com programming, with detailed captions, a basis for the downloading.)
- 2005-09-15 22:27:37下载
- 积分:1
-
346573736
装修公司网站系统修正版源码,有需要的就下载吧。(Decoration company website system amended version of the source code, need to download it.)
- 2013-09-09 16:33:10下载
- 积分:1
-
Cmysql
说明: C# and mysql connect and update
- 2020-06-25 16:00:01下载
- 积分:1
-
Onvif-deve_-framework
说明: Onvif开发框架,包含需要的wsdl文件已经通过goasp生成的头文件和源文件.没有包含鉴权(Onvif development framework, including the need for the WSDL file has been generated by the goasp header files and source files.)
- 2016-07-27 09:46:38下载
- 积分:1
-
mswatch
桌面监视器,带键盘监视功能
可用于关闭一些广告窗口或不希望出现的任意窗口,键盘监视功能带回放器,可播放鼠标键盘的操作过程(desktop monitor, with the keyboard function can be used to monitor the closure of some advertising window or do not want to see is the arbitrary window, Keyboard surveillance function with playback device that can broadcast mouse keyboard operation process)
- 2007-04-17 17:35:00下载
- 积分:1
-
Carrier_0_03.tar
CARRIER todo esto es un documento elaborado con la mayora facilidad
- 2013-12-14 04:43:26下载
- 积分:1
-
Ethernzt-Athernet
OMRON FINS 串口 以太网通讯协议软件原代码(The original Code of OMRON FINS Serial Ethernet Communication Protocol Software)
- 2018-07-30 12:43:58下载
- 积分:1
-
web
一个用c++编写的网页程序,可以作为大家的学习(Using a web page written in c++ program can be used as our learning)
- 2009-12-15 16:40:39下载
- 积分:1
-
fer1
$regfile = M8DEF.dat internal crystal 8000000
Config Lcdpin = Pin , Db4 = Portc.1 , Db5 = Portc.2 , Db6 = Portc.3 , Db7 = _
Portc.4 , E = Portd.2 , Rs = Portd.3
Config Lcd = 16 * 2
Config Timer1 = Counter , Edge = Rising
Ddrb.1 = 0 : Portb.1 = 1 PULL UP RESISTOR ACTIVATED
Config Timer0 = Timer , Prescale = 1024
Enable Counter1
Enable Interrupts
Enable Timer0
Enable Timer1
On Ovf1 Pulsecount
On Ovf0 Ovf0occures
Dim A As Long , I As Long , B As Byte
B = 0
Cls
Start Timer0
Do
Loop
End end program
Ovf0occures:
Incr I
If I > 30 Then
Stop Timer0
Cls : Home
A = B * 65536
A = A + Counter1
Lcd FREQ IS : A HZ
B = 0
I = 0 : Counter1 = 0
Start Timer0
End If
Return
Pulsecount:
Incr B
Counter1 = 0
Return
- 2014-11-22 01:04:48下载
- 积分:1