Chapter 116: How can you be born so good-looking
For Su Xiaomu's erudition and prudence, Zhang Ke, as a professor and tutor, is very satisfied.
Holding the thermos cup in both hands, Zhang Ke was greedy for the breath of wolfberry + angelica soaked in water, groaned slightly, and said a digression.
"I always feel like you have something you haven't said. ”
After speaking, he waved his hand again, obviously not wanting to delve into it, and continued,
"It's true that a well-chosen algorithm can achieve some of the things you just said about greatly improving the performance of the program and making the submission processing more efficient, but, as you once said, the algorithm is not perfect. ”
Zhang can use his own experience and his own perspective to slowly elaborate some experience and theoretical ideas.
"For example, when standing in line, it will look neat according to height, and if there are many people who look almost the same height at first glance, it will undoubtedly make the queue appear undulating.
At this time, only standing at a higher place to make adjustments will appear neat, what the algorithm has to do is to carry out such subtle processing, how to make such subtle processing more effective, is one of the difficulties......"
“……”
Su Xiaomu nodded while pondering:
It's like someone who always says that affection is not as good as long-term companionship, but they forget to fall in love at first sight.
For example, it is obvious that Shang Siyu first met Su Xiaomu, but now it is Lin Tang who has more opportunities to flirt or do something else.
Reflected in the Android file system manipulated by Su Xiaomu, the main contradiction is that no matter how many APPs there are, no matter how indiscriminate they read and write storage space, the ultimate goal is to make this efficiency very efficient and not stuck.
The development of Android mobile phones has gone through many versions, and the hardware and system have changed countless times, but they can never meet the infinite expansion of a variety of APPs.
No matter how much high-end hardware is added, how many bugs the system solves, and how many modules are optimized, there will always be lag.
Aside from some additional factors, it is reflected in the software level itself, in fact, when the APP reads and writes the storage space, the response efficiency is not enough.
When the APP is opened, the information of the APP itself must be read, and it must go through a series of processes:
Access the corresponding directory of the storage space, read the data, feed back to the app itself, and then display the content.
What Su Xiaomu wants to do is very simple, modify the file system, with a better data structure, so that the APP responds more efficiently, and finally solves the big problem that has always existed, Caton.
"In this case, the first thing to do is to weigh the pros and cons and consider sacrificing some performance or efficiency. Su Xiaomu frowned slightly, and said subconsciously.
He found that Android lag is not without reason, everyone wants extreme performance and efficiency, but also wants stability.
Weighing the pros and cons between the two is that you have to sacrifice performance or efficiency for stability.
Thinking of this, Su Xiaomu almost lost all his confidence.
What so many people in the world can't do, I, a college student, can do it?
If it weren't for the hanging and the handsomeness, Su Xiaomu would really give up.
Zhang Ke continued, "...... Sacrifice is inevitable......"
Su Xiaomu added, "The idea of carefully selecting algorithms to make the data structure better is definitely correct. ”
Tan Ling pushed the glasses on the bridge of his nose, "Of course the idea is right, but ......"
Zhang Ke also expressed his opinion, "The design of the algorithm is like this, I always want to have the best of both worlds......"
When Su Xiaomu discussed the wonderful places with Zhang Ke and Tan Ling, Lin Tang accosted a sentence.
"In terms of the algorithm of data structure, Senior Brother Xiaomu, you seem to be better than us, right?"
Zhang Ke: "......"
I'd better drink my wolfberry angelica water, I'm getting old, and maintenance is important.
Tan Ling: "......" is right, didn't you discuss algorithms before, why did you start to make axes in the class?
Su Xiaomu: "......"
"Thank you, professor, senior, for a lot of benefits. Su Xiaomu hurriedly smiled and thanked.
The discussion was so exciting, as if it was accidentally pretending to be forced.
Under tremendous pressure, Su Xiaomu fled from the subject laboratory.
From the beginning, Su Xiaomu never thought that Professor Zhang Ke or his seniors would have the ability to solve all his doubts, and in terms of academics, he was full of numbers.
After all, it's the one who has been hanging.
Su Xiaomu just wanted to open up more ideas, so he gained a lot today.
First of all, Su Xiaomu basically cleared his mind.
Android is a special operating system, although it is a free and open source operating system based on Linux, running on top of the Linux kernel, but it is not GNU/Linux. ①
On the contrary, Android has also removed the parts that are restricted by the GNU GPL (General License) in order to achieve commercial applications.
The file system of the Android system is still ext4 of Linux, but the partition where the data is stored has a different file system, and there are two file systems for /stroage/emulated (virtual SD card partition) on Android phones:
fuse and sdcardfs.
The virtual SD card partition on Android phones is the most frequently accessed storage space for users, including apps.
As for why it's so troublesome, add a file system that only runs on the virtual SD card partition and then access the actual ext4 file system, the purpose is simple:
Control the permissions of different apps to access files.
The reason why Su Xiaomu wants to manipulate the file system is also very simple, if you want to carry the banner of localization, you have to take it step by step, the file system happens to be an important core module, and the goal is a medium meaning.
Neither fuse nor sdcardfs are made in China, let alone ext4 on Linux......
…………
…………
After leaving the laboratory, Su Xiaomu walked back to Huabanli, and the female creditor Su He sent a message saying that she would go home and cook.
Su Xiaomu, who was eager to open his mouth for food, immediately responded.
secretly said in his heart, no wonder Soho didn't let him drive the car home in the morning, it turned out that he had been prepared.
In the elevator, the two just ran into each other.
"Oh Huo, whose young lady is this, why is she so good-looking. Su Xiaomu raised his eyebrows and stepped forward to tease.
Just hooked Soho's chin and said, girl, give Ye a smile.
Soho wasn't annoyed at all, and even looked forward to this step, smiling slightly, "Isn't it better to laugh?"
Su Xiaomu nodded again and again.
"Yes, yes, yes. ”
"A dead ghost, you dare to say that you can't flirt with your sister!" Su He rolled his eyes, and wanted to kill Su Xiaomu, without telling the truth.
Su Xiaomu scratched his head, "Isn't this learning, or I will always be scolded by you." ”
"Where did you learn it?" said Soho's heart.
Su Xiaomu sighed, "It's not your words and deeds......
(1): GNU: Free operating system, to the effect that the user's operation of the software is free, can be modified and shared.
======
Broken bowl, pushed it strongly, and asked for a recommendation ticket.