Ray's playground

 

2009年9月25日

The Importance of Frontend Performance(Chapter A of High performance Web Sites)

摘要: In any optimization effort, it’s critical to profile current performance to identifywhere you can achieve the greatest improvements.It’s clear that the place to focus isfrontend performanc... 阅读全文

posted @ 2009-09-25 12:53 Ray Z 阅读(274) 评论(0) 推荐(0) 编辑

C++ templates chapter 7(Basic Template Terminology)

摘要: The term class template states that the class is a template. That is, it is a parameterized description of a family of classes.The term template class on the other hand has been used- as a synonym for... 阅读全文

posted @ 2009-09-25 09:17 Ray Z 阅读(217) 评论(0) 推荐(0) 编辑

2009年9月24日

C++ templates chapter 6(Using Templates in Practice)

摘要: [代码][代码] 阅读全文

posted @ 2009-09-24 22:26 Ray Z 阅读(218) 评论(0) 推荐(0) 编辑

2009年9月23日

Recipe 1.4. Reversing a String by Words or Characters

摘要: [代码]Because the regular expression /(\s+)/ includes a set of parentheses, the separator strings themselves are included in the returned list. 阅读全文

posted @ 2009-09-23 22:19 Ray Z 阅读(150) 评论(0) 推荐(0) 编辑

C++ templates chapter 5(Tricky Basics)

摘要: [代码][代码]To make sure that a member of a class template, for which the type is parameterized, gets initialized, you have to define a default constructor that uses an initializer list to initialize the ... 阅读全文

posted @ 2009-09-23 17:02 Ray Z 阅读(242) 评论(0) 推荐(0) 编辑

2009年9月22日

Error Handling(Chapter 1 of Windows Via C/C++)

摘要: [代码] 阅读全文

posted @ 2009-09-22 21:33 Ray Z 阅读(276) 评论(0) 推荐(0) 编辑

Recipe 1.3. Substituting Variables into an Existing String

摘要: [代码] 阅读全文

posted @ 2009-09-22 13:03 Ray Z 阅读(189) 评论(0) 推荐(0) 编辑

C++ templates chapter 4(Nontype template parameters)

摘要: Templates can have template parameters that are values rather than types.You cannot use floating-point numbers, class-type objects, and objects with internal linkage (such as string literals) as argum... 阅读全文

posted @ 2009-09-22 12:27 Ray Z 阅读(254) 评论(0) 推荐(0) 编辑

2009年9月21日

Extend python with C

摘要: [代码]Build the extension using Microsoft Visual Studiocl /LD hellomodule.c /Ic:\Python26\include c:\Python26\libs\python26.lib /link/out:hello.dll[代码]python setup.py buildUsage:[代码]output: Hello World! 阅读全文

posted @ 2009-09-21 13:43 Ray Z 阅读(452) 评论(1) 推荐(0) 编辑

2009年9月20日

C# COM+ Programming Chapter 4(Transactions)

摘要: Transactions are one of the cornerstone services of COM+.Any transaction, whether it is a COM+ transaction or not, must have four basic characteristics to be a transactional system.AtomicConsistentIso... 阅读全文

posted @ 2009-09-20 21:25 Ray Z 阅读(209) 评论(0) 推荐(0) 编辑

导航