Japanese online magazine, @IT Jibun Senryaku Lab. (information site for
IT engineers to educate and/or develop oneself), published an interview
with a Japanese teenage boy, Masahiro Kanai, who improved the
performance of several methods in Ruby 1.9. He is the age of high
school freshman (the third grade of junior high school in Japanese
school system). The article (written in Japanese) is here
.
According
to the article, Masahiro Kanai joined “the Security and Programming
Camp 2009” this summer and chose the subject of Ruby’s performance
improvement. His mentor was Koichi Sasada (ko1). The performances of
the methods he worked have been bumped up 63% in maximum, 8% in
average. His patches were applied to Ruby trunk in Oct. 5 this year.
What
Masahiro Kanai did was fundamental for performance tuning. He took
unnecessary macro references out from a loop. Masahiro spotted macros
below in array.c, string.c, and struct.c were referred every time Ruby
checked whether data was hold in a structure or not. Even though data
were constants, Ruby saw the macros to judge data’s presence in every
loop.
-RARRAY_PTR, RARRAY_LEN
-RSTRING_PTR, RSTRING_LEN
-RSTRUCT_PTR, RSTRUCT_LEN
He optimized the loop by eliminating macro references when data were constants.
Japanese people were surprised about the news since he made that in his age.
The interviewer acclaimed that he made it in his age.
分享到:
相关推荐
【TEENAGE】字体主题详解 在数字设计与视觉传达领域,字体的选择和设计往往扮演着至关重要的角色。"TEENAGE"这一标题暗示我们关注的焦点是与青少年文化相关的一种字体风格。青少年文化,充满活力、创新和自我表达,...
"Teenage Mutant Ninja Turtles"(简称TMNT)有多个版本,分别是v1.9.1、v1.9、v1.8、v.1.7和v1.6。这些版本的迭代通常代表着功能的增强、性能的优化或是修复已知问题。每个版本都对应一个压缩包文件,包含以下文件...
"Apache Hadoop 生态系统发展概述" Apache Hadoop 生态系统自2006年以来经过了快速发展,Hadoop 的创始人 Arun Murthy 在 Hortonworks 的演讲中回顾了 Hadoop 的发展历程。从早期的 NHDFS 和 MapReduce 到现在的 ...
The loud noise from the planes every day is hard to put up.`中,在`up`后加`with`,构成`put up with`表示“忍受”。 - 句子`Giving the right kind of training, these teenage soccer players may one day ...
非模仿听力--two teenage girls.mp3
31. "一个十几岁的孙女":a teenage granddaughter 32. "我最大的挑战":my biggest challenge 33. "正如你想象的那样":as you can imagine 34. "另一个例子":another example 35. "切碎":chop 36. "用叉子吃它...
《Teenage Life》Reading and Thinking 教学 图文74页PPT.pdf
【知识点一:戏剧和音乐剧的基本元素】 戏剧和音乐剧是表演艺术的重要组成部分,通常包含剧本、演员、导演、舞台设计、音乐和舞蹈等多个元素。在《Animals Out of Paper》中,我们可以看到折纸艺术家邀请青少年及其...
used to identify one or more people or things from a group or list. #### 9A 单词 **Unit 1: Know yourself** - *well的最高级* 最,最好地adv: Best; the highest degree or quality. **Unit 2: Colours**...
如`parents find it difficult to talk with their teenage children.` 3. **交际技巧与沟通占比**:Edward T. Hall的理论指出,在两个人的对话中,65%的交流是通过肢体语言完成的,即`communication`。 4. **情感...
3. 名词复数:"Those kinds of books sell well among _teenage_."中teenage是青少年的统称,此处应改为复数形式teenagers。 4. 动词不定式:"How about _going_ out to play football?"中go需要变为going,与about...
在九年级英语上册Unit3 Teenage problems的学习中,学生将接触到一系列与青少年问题相关的词组和句型,这些内容涵盖了健康、社交、学习压力等多个方面。以下是对这些知识点的详细解析: 1. "你怎么了?" 这是询问...
2) To be concrete, the teenage addicts only made up 10 percent of all the drugsters in 1982 while the ratio rose up to 65 in 2002. 3) These changes are most distressing, but the causes
初级入门吉他谱 guitar tab
学习 Scratch 的入门指南Scratch 是一个由麻省理工学院开发的免费在线编程平台,旨在帮助儿童和青少年学习编程概念和技能。 Scratch 使用块状编程语言,易于理解和操作,非常适合初学者。...然后,按照以下步骤开始学习...
这个文档是针对九年级英语学习的课时练习,主要涵盖了牛津英语9A Unit3关于"Teenage Problems"的主题。以下是该练习中涉及的一些核心知识点: 1. **词汇变形**: - `teenager` 的复数形式是 `teenagers`。 - 动词...
这篇内容是针对初中英语教学的材料,主要涵盖了Unit 3 "Teenage problems" 的第二课时,Period 2,属于新版牛津版教材的一部分。这个阶段的学习重点在于词汇积累、短语翻译、句子理解和完形填空等语言技能的训练。 ...
在九年级英语上册Unit3 Teenage Problems的复习讲义中,我们关注的是青少年面临的一系列挑战和问题,这些问题在日常学习和生活中普遍出现。这个单元涵盖了诸多与青少年生活息息相关的词汇、短语和句型,旨在帮助学生...
这篇内容主要是一份高中英语检测卷的一部分,涉及的是新人教版必修第一册的第一单元"Teenage life"。尽管这份资料的主题是青少年生活,但具体试卷内容主要侧重于听力理解训练,因此我们可以从中学到以下与英语听力...