Chapter 200: Confession
After getting the source code, Kerry naturally has a way to recompile this huge application, most of the code of this program is written in C and C++, so the compilation environment and the compilation program are actually not very different from other applications, on the first day Duke figured out what the program is compiled with, and installed a set directly on Kerry after returning home.
Kerry's new nuclear reaction simulation system will soon be able to run on both the improved Virtual Titan II and the original Titan II system, giving Duke peace of mind.
At this time, Duke began to ask Kerry to optimize the efficiency of the application, first for the original Titan II system, and then began to modify it after taking the results of Kerry's optimization.
This program is worth optimizing the space is really a lot, it is filled with a large number of massive data operation programs, because of the high degree of confidentiality of this program, coupled with strict requirements, obviously developers in many times in accordance with the conservative way of development, although the algorithm is not easy to make mistakes, but in terms of efficiency has great room for improvement.
So it didn't take much time for Kerry to come up with a new version with a performance optimization improvement of up to 50 percent, and after multiple verifications on the virtual original Titan II system, Kerry gave a list of all the improvements in this new improved version, and tested the efficiency of each improvement.
Such intimate considerations, if spread out, are enough to make all programmers envious to death.
But seeing this amazing result, Duke was a little hesitant. With Duke's emotional intelligence at the moment, he will naturally not be stupid enough to directly modify this result into the new version of the application, and in doing so, it is not to enhance the aura of genius on his head, but to directly put on the hat of a monster, and never want to walk.
The last big improvement of the operating system,In fact, the code only improved the scheduling part,It can be said that it is a research experience in parallel algorithms,This improvement seems exciting,But not so much that people can see it as a monster,But if all the improvements listed by Kerry are shown,It would be too rebellious。
These local modifications involve quite a lot of algorithms, not one or two, involving at least hundreds of thousands of lines of source code, thinking that Duke has been studying for a month, not to mention understanding hundreds of thousands of lines of code that he has never seen before, and making substantial improvements, this performance is really not human.
So Duke wouldn't have made such a low-level mistake. But how much Professor Andrew can be promoted to be able to explain more perfectly, Duke has not communicated with Professor Andrew about this, and I don't know what the bottom line in his heart is. Considering that the performance of the operating system was improved by 15% last time, everyone was a little excited, and Duke decided to control the increase this time.
It's just how much to control, Duke really has a headache, he carefully looked at the list of changes provided by Kerry, and noticed that there are two places where the modification effect is better, a total of less than 5000 lines of code have been modified, but the improvement effect has reached eleven percent, Duke moved in his heart, these two modifications seem to be okay, there is not much code involved, and the effect is not bad, it is better to use this crossover.
Thinking of this, Duke began to modify the code on the terminal connected to the nuclear reaction simulation program, and in order to reflect the deliberate effect, it took Duke more than a week to revise these thousands of lines of code.
After the compilation test passed, Duke asked Kerry to write a few test programs for these two pieces of code, pretending to test the effect, of course, this code that has been closely verified by Kerry, except for Duke input errors, the algorithm has been impeccable, so there is no pressure at all to pass these test programs.
But Duke needed the results of this test to explain to Professor Andrew, this kind of crucial application, without a credible verification scheme, Professor Andrew would never dare to advocate the adoption of indiscriminately, after all, the difference is a thousand miles, if the application of the nuclear reaction program loses its accuracy, it is useless to run too fast.
With all that done, Duke came to Professor Andrew's office.
"Duke, how's it going, is there a result?" Seeing Duke coming, Andrew asked kindly.
"Professor, there's some results." Duke said. "According to the code I see now, there may be some problems with the algorithm in the intensive calculation part of the nuclear reaction simulation program, I have re-modified it, and the file I modified is ***.cpp and xxx.cpp, please send someone to receive verification."
"yes, that's great, I wonder how much efficiency this change will probably make?" Andrew was very happy when he heard that there was progress.
"According to the simulation calculation of the two algorithms before and after, it is estimated that it can be improved by about 10%, right?" Duke reported a range of possibilities, looking at Andrew's expression nervously, if this number Andrew is not satisfied, this job may have to be done, if he is satisfied, then he will just be able to retire.
"Ten percent?!" Andrew repeated that although he had high hopes for Duke, Professor Andrew was still a little excited when the hope finally came true.
It's done, Duke saw Andrew's expression and knew that he could quietly retire from this matter. On the one hand, the short time is enough to reassure Professor Andrew and those who follow Duke, because according to general reasoning, Duke will not see much in such a short period of time, and on the other hand, Duke really does not want to improve the performance of the system.
Because maybe this system is a major stumbling block in Duke's future energy plan, after Kerry copied this thing to the virtual improved Titan II system, Duke entered the parameters of the specific occurrence of the natural reactor, and it has been verified that those parameters are completely fine, and the simulation results are perfect.
If Duke improves the performance of this system too high, if the top experts of MIT nuclear experiments are gathered to study this topic, Duke does not dare to guarantee that they will not explode in character and discover the part of the hidden thing in advance under accidental conditions.
After all, on this issue, I am in a dilemma: on the one hand, I want to make a breakthrough to the extent that I can break through with "luck" in the future, and on the other hand, I cannot expose the fact that I have already obtained the entire nuclear reaction simulation program.
If it is not possible to "discover" what must be achieved through this nuclear reaction simulation program, Duke will lack a plausible source of results. It is equivalent to providing an extremely obvious flaw to the person with a heart, which is an extremely dangerous thing for Duke, and Duke must avoid it.
(Chapter 200, more than 500,000 words in 5 months, as an office worker, it's not easy to be honest, come to a collection for comfort!)
For all of you who have clicked in from various lists, please click the "Add Bookmark" button on the right;
Or right-click and select "Add to Bookshelf Bookmark" in the middle of the pop-up menu for easy reading next time;
Character guarantee, the future will be more exciting and interesting, don't spend a penny, accompany Duke to change the world together)