When the programmer opens the plug-in
Chapter 75
Chapter 75
In order to test an accurate value, Cheng Wen deleted the 30G memory from the system that was previously added to the computer, and he has not yet allocated the newly obtained 5G memory.
After adding the memory before, the startup speed is much faster, but the compilation speed is not particularly improved. Cheng Wen wants to use only some resources of the system itself to see how far this optimization can go.
Cheng Wen remembered that it took 6 seconds to open this software. Later, after using the memory provided by the system, the average time to open the software and the project was shortened to 2 seconds.
After that, there is no effect of using more memory. Cheng Wen feels that this software may not use too much memory. Items are added to memory.
But there is a problem, this software does not know which project you want to load in advance, besides, it is better to use the memory for other more practical places than to waste that memory.
After all, the operation of opening the project is not frequent, but only once during development, and may be opened once a day. Even full-time mac software developers may not close the software after opening it. It may be based on this consideration. They There is no way to optimize this opening speed.
However, Cheng Wen feels that they may not be able to optimize.
This time, Cheng Wen tried the opening speed of the software again, restarted the computer, and had a cold start.
Cheng Wen suspected that he had read it wrong, because the moment he clicked on the software, it had already started.
It should take less than one second, and the startup speed of such a large software can be so fast.
Cheng Wen felt incredible.
Then he opened a project, also in seconds.
amazing, unbelievable...
Cheng Wen looked at the status bar below, and there was indeed no ongoing operation, which meant that it was really fully opened.
He has also tried it before, some software is quick to open the UI, and there are tasks running in the background to build indexes or something.
You can see the content of the file is no problem, but in the development, sometimes according to a method name to transfer to its definition, sometimes there will be problems with the jump.
This is because the software has not fully loaded the project, but just added his local directory.
Try to compile again, and it will be fine in a second.
Cheng Wen quickly had an illusion, he wondered if he had written something wrong.
Because past experience told him that if a piece of software usually runs for a long time and compiles for a long time, it suddenly compiles very fast. Usually, there is an error in the compilation, or the code is very different from before, for example, there is only one line. It takes that long.
But he created a new mind map and found that his mind map may be successfully created, saved, and opened before.
Cheng Wen looked at the software again, and found that its functions were still those functions, neither more nor less.
This optimization should only optimize the existing functions, speed up the slow places, and optimize the places that need to consume a lot of resources without requiring so many resources.
"This is very good, but, can it be used by other people?" After Cheng Wen had this idea, he packaged the entire software directory.
Then I passed a copy to Lu Danxue and asked her to test it out, and sure enough, it was instant with her.
However, the reason why this can be done is also because the software on the mac computer is better isolated, and all the files involved are together.
Cheng Wen had an idea, he wanted to send the optimized software to people from Apple.
After all, such an easy-to-use thing should be enjoyed by the majority of developers, not just him.
Just do what you say, Cheng Wen found an email from Apple, and sent it to it, explaining that the software has been optimized and how much better it is after optimization.
Eddie Benson is one of the staff who has been in charge of Apple's mail, and Cheng Wen's mail happened to be in charge of him.
He was stunned when he received the email, because Cheng Wen was written in Chinese, so he couldn't understand it.
He found a translation software to translate the content into English, and only then did he understand what Cheng Wen meant.
It says that there is an attachment inside, which is the revised xcode.
He saw this and didn't take it seriously. After all, if he optimized a software through normal cognition, he needed to get the source code of the software, and Cheng Wen probably had no chance to get the source code.
So he thought Cheng Wen must be lying.
But seeing such a large attachment, he didn't let Cheng Wen's efforts go to waste, and forwarded the email to someone related to xcode.
Andy Beaufort, who is in charge of xocde, also saw this email. In fact, he had the same opinion as Eddie Benson, but he didn't know why, so he downloaded the software and tried it.
After trying it, he found that he couldn't go back, and tried the official software again. He always felt that the one issued by Cheng Wen was the genuine one. He had never seen a pirated software that was easier to use than the genuine one.
Could it be because, like some pirated versions, all the functional modules of a software are understood, and then only the core functions are retained.
But Andy Beaufort tested all the functions of the software and found that there were no shortage of functions.
It occupies less resources when running, the startup and compilation speed are fast, and the installation package is also much smaller, which makes it easier to transmit it on the network. He also discovered other features, and some functions have been enhanced, such as that Smart prompts, as well as intelligent error-finding functions.
This made him very puzzled, how the other party did this without the source code.
Has all the code been decompiled?
Impossible, such a large software, if it is decompiled, the amount of engineering required is huge.
The decompilation he said is to compile the source code based on an executable file such as exe.
This process is still relatively difficult.
In addition to thinking about this, he also thought that Cheng Wen might have the source code in his hand, and this source code might have been leaked by someone else.
But if someone else leaked it, Cheng Wen would not dare to deliver the code directly even if it was optimized.
Because this has actually violated the copyright of the software. To put it bluntly, this in itself is an illegal act.
Thinking of this, he found Cheng Wen's email address and sent him an email back.
He wrote in English, but he translated it into Chinese when he posted it. He felt that this way Cheng Wen could be seen and understood more, which was a kind of respect for Cheng Wen.
In fact, Cheng Wen didn't care about this anymore after sending that email. He felt that the following problems had little to do with him.
Whether or not Apple uses this software is their business. Anyway, the optimized software has been sent to them.
(End of this chapter)
In order to test an accurate value, Cheng Wen deleted the 30G memory from the system that was previously added to the computer, and he has not yet allocated the newly obtained 5G memory.
After adding the memory before, the startup speed is much faster, but the compilation speed is not particularly improved. Cheng Wen wants to use only some resources of the system itself to see how far this optimization can go.
Cheng Wen remembered that it took 6 seconds to open this software. Later, after using the memory provided by the system, the average time to open the software and the project was shortened to 2 seconds.
After that, there is no effect of using more memory. Cheng Wen feels that this software may not use too much memory. Items are added to memory.
But there is a problem, this software does not know which project you want to load in advance, besides, it is better to use the memory for other more practical places than to waste that memory.
After all, the operation of opening the project is not frequent, but only once during development, and may be opened once a day. Even full-time mac software developers may not close the software after opening it. It may be based on this consideration. They There is no way to optimize this opening speed.
However, Cheng Wen feels that they may not be able to optimize.
This time, Cheng Wen tried the opening speed of the software again, restarted the computer, and had a cold start.
Cheng Wen suspected that he had read it wrong, because the moment he clicked on the software, it had already started.
It should take less than one second, and the startup speed of such a large software can be so fast.
Cheng Wen felt incredible.
Then he opened a project, also in seconds.
amazing, unbelievable...
Cheng Wen looked at the status bar below, and there was indeed no ongoing operation, which meant that it was really fully opened.
He has also tried it before, some software is quick to open the UI, and there are tasks running in the background to build indexes or something.
You can see the content of the file is no problem, but in the development, sometimes according to a method name to transfer to its definition, sometimes there will be problems with the jump.
This is because the software has not fully loaded the project, but just added his local directory.
Try to compile again, and it will be fine in a second.
Cheng Wen quickly had an illusion, he wondered if he had written something wrong.
Because past experience told him that if a piece of software usually runs for a long time and compiles for a long time, it suddenly compiles very fast. Usually, there is an error in the compilation, or the code is very different from before, for example, there is only one line. It takes that long.
But he created a new mind map and found that his mind map may be successfully created, saved, and opened before.
Cheng Wen looked at the software again, and found that its functions were still those functions, neither more nor less.
This optimization should only optimize the existing functions, speed up the slow places, and optimize the places that need to consume a lot of resources without requiring so many resources.
"This is very good, but, can it be used by other people?" After Cheng Wen had this idea, he packaged the entire software directory.
Then I passed a copy to Lu Danxue and asked her to test it out, and sure enough, it was instant with her.
However, the reason why this can be done is also because the software on the mac computer is better isolated, and all the files involved are together.
Cheng Wen had an idea, he wanted to send the optimized software to people from Apple.
After all, such an easy-to-use thing should be enjoyed by the majority of developers, not just him.
Just do what you say, Cheng Wen found an email from Apple, and sent it to it, explaining that the software has been optimized and how much better it is after optimization.
Eddie Benson is one of the staff who has been in charge of Apple's mail, and Cheng Wen's mail happened to be in charge of him.
He was stunned when he received the email, because Cheng Wen was written in Chinese, so he couldn't understand it.
He found a translation software to translate the content into English, and only then did he understand what Cheng Wen meant.
It says that there is an attachment inside, which is the revised xcode.
He saw this and didn't take it seriously. After all, if he optimized a software through normal cognition, he needed to get the source code of the software, and Cheng Wen probably had no chance to get the source code.
So he thought Cheng Wen must be lying.
But seeing such a large attachment, he didn't let Cheng Wen's efforts go to waste, and forwarded the email to someone related to xcode.
Andy Beaufort, who is in charge of xocde, also saw this email. In fact, he had the same opinion as Eddie Benson, but he didn't know why, so he downloaded the software and tried it.
After trying it, he found that he couldn't go back, and tried the official software again. He always felt that the one issued by Cheng Wen was the genuine one. He had never seen a pirated software that was easier to use than the genuine one.
Could it be because, like some pirated versions, all the functional modules of a software are understood, and then only the core functions are retained.
But Andy Beaufort tested all the functions of the software and found that there were no shortage of functions.
It occupies less resources when running, the startup and compilation speed are fast, and the installation package is also much smaller, which makes it easier to transmit it on the network. He also discovered other features, and some functions have been enhanced, such as that Smart prompts, as well as intelligent error-finding functions.
This made him very puzzled, how the other party did this without the source code.
Has all the code been decompiled?
Impossible, such a large software, if it is decompiled, the amount of engineering required is huge.
The decompilation he said is to compile the source code based on an executable file such as exe.
This process is still relatively difficult.
In addition to thinking about this, he also thought that Cheng Wen might have the source code in his hand, and this source code might have been leaked by someone else.
But if someone else leaked it, Cheng Wen would not dare to deliver the code directly even if it was optimized.
Because this has actually violated the copyright of the software. To put it bluntly, this in itself is an illegal act.
Thinking of this, he found Cheng Wen's email address and sent him an email back.
He wrote in English, but he translated it into Chinese when he posted it. He felt that this way Cheng Wen could be seen and understood more, which was a kind of respect for Cheng Wen.
In fact, Cheng Wen didn't care about this anymore after sending that email. He felt that the following problems had little to do with him.
Whether or not Apple uses this software is their business. Anyway, the optimized software has been sent to them.
(End of this chapter)
You'll Also Like
-
Football: The king of steals, Ronaldo and Messi broke through the defense
Chapter 134 5 hours ago -
Football: Draw a card to get a super-intelligent dragon and a flaming shot
Chapter 115 5 hours ago -
It is revealed that the collapse is the game world, and everyone's defense is broken!
Chapter 176 5 hours ago -
Genshin Impact: Mikhail is revealed on Sunday!
Chapter 154 5 hours ago -
The famous scene of Genshin Impact: Yellow Spring Gold Dust is revealed
Chapter 231 5 hours ago -
Ultraman: I'm Just a Scientist
Chapter 714 5 hours ago -
Special Forces: I, Private! Destroy the Wolf Fang at the beginning
Chapter 915 5 hours ago -
Nine Transformations of the True Spirit
Chapter 305 5 hours ago -
If I let you farm, will you become the emperor of the empire?
Chapter 241 5 hours ago -
You are a cultivator of immortality, how dare you challenge my heavenly tribulation?
Chapter 313 5 hours ago