Samuel P.cHarbison于卡内基-梅隆大学获得计算机科学博士学位,现任Carlow学院的计算机科学系副教授,曾就职于德州仪器和Tartan公司,还曾经担任C++程序设计语言标准化国际工作组的主席,他的研究领域涉及程序设计语言和软件开发工具。
Guy L. Steele Jr.于MIT获得计算机科学和人工智能博士学位,曾任卡内基-梅隆大学计算机科学系副教授,还曾就职于Tartan实验室和thinking Machines公司,1994年加入SUN公司,主要从事并行算法、实现策略、软件支持等方面的研究以及Java语言规范的制定。
原文摘录 · · · · · ·
Program measurements indicated that most of the calls to prime were being made with small integers. To avoid the overhead of calls to prime, the code was changed to use a switch statement to handle the small integers, leaving the default label to handle larger numbers. (查看原文)
噢操,这代码的逼格要溢出啦 switch (x) default: if (prime(x)) case 2: case 3: case 5: case 7: process_prime(x); else case 4: case 6: case 8: case 9: case 10: process_composite(x); Program measurements indicated that most of the calls to prime were being made with small integers. To avoid the overhead of calls to prime, the code was changed to use a switch statement to handle the small integers, ...(5回应)
2013-05-21 20:44
噢操,这代码的逼格要溢出啦
switch (x)
default:
if (prime(x))
case 2: case 3: case 5: case 7:
process_prime(x);
else
case 4: case 6: case 8: case 9: case 10:
process_composite(x);
Program measurements indicated that most of the calls to prime were being made with small integers. To avoid the overhead of calls to prime, the code was changed to use a switch statement to handle the small integers, leaving the default label to handle larger numbers.引自第277页
噢操,这代码的逼格要溢出啦 switch (x) default: if (prime(x)) case 2: case 3: case 5: case 7: process_prime(x); else case 4: case 6: case 8: case 9: case 10: process_composite(x); Program measurements indicated that most of the calls to prime were being made with small integers. To avoid the overhead of calls to prime, the code was changed to use a switch statement to handle the small integers, ...(5回应)
2013-05-21 20:44
噢操,这代码的逼格要溢出啦
switch (x)
default:
if (prime(x))
case 2: case 3: case 5: case 7:
process_prime(x);
else
case 4: case 6: case 8: case 9: case 10:
process_composite(x);
Program measurements indicated that most of the calls to prime were being made with small integers. To avoid the overhead of calls to prime, the code was changed to use a switch statement to handle the small integers, leaving the default label to handle larger numbers.引自第277页
噢操,这代码的逼格要溢出啦 switch (x) default: if (prime(x)) case 2: case 3: case 5: case 7: process_prime(x); else case 4: case 6: case 8: case 9: case 10: process_composite(x); Program measurements indicated that most of the calls to prime were being made with small integers. To avoid the overhead of calls to prime, the code was changed to use a switch statement to handle the small integers, ...(5回应)
2013-05-21 20:44
噢操,这代码的逼格要溢出啦
switch (x)
default:
if (prime(x))
case 2: case 3: case 5: case 7:
process_prime(x);
else
case 4: case 6: case 8: case 9: case 10:
process_composite(x);
Program measurements indicated that most of the calls to prime were being made with small integers. To avoid the overhead of calls to prime, the code was changed to use a switch statement to handle the small integers, leaving the default label to handle larger numbers.引自第277页
2 有用 c632ad7cbe 2012-08-20
其实没有标准写的那么精确和连贯(作者修改后的文法看得相当蛋疼),作者的意图可是面向编译器设计者的.不过仍然是出版的关于C的书籍里最有深度和最值得一读的..
0 有用 paranoid.emacs 2012-03-31
很不错的书,就是把C99的文档整理的更可读.
0 有用 萌萌 2010-02-07
整体还好,但不少句子要读很多遍,联系书籍的其他地方,才能理解。。貌似还有写前后矛盾的和没写清楚的地方,可能是我功力不够吧。还有,这本书的勘误比较多,看之前一定要把这些地方改正过来,而且里面好像还有没改过来的错误。
0 有用 [已注销] 2016-05-26
以标准口吻介绍了c语言语法和标准库
0 有用 Jabulani 2014-03-29
关于c语言的所有特性,标准工具书。
0 有用 [已注销] 2020-07-03
以标准口吻介绍了c语言语法和标准库 @2016-05-26 12:50:35
0 有用 [已注销] 2016-05-26
以标准口吻介绍了c语言语法和标准库
0 有用 Jabulani 2014-03-29
关于c语言的所有特性,标准工具书。
2 有用 c632ad7cbe 2012-08-20
其实没有标准写的那么精确和连贯(作者修改后的文法看得相当蛋疼),作者的意图可是面向编译器设计者的.不过仍然是出版的关于C的书籍里最有深度和最值得一读的..
0 有用 paranoid.emacs 2012-03-31
很不错的书,就是把C99的文档整理的更可读.