host brain pain
Chapter 80 Konjac's Su Xiaomu and the Long-lost You
Chapter 80 Konjac's Su Xiaomu and the Long-lost You
Sometimes it is not good to know too much, to be too good, to be extraordinarily dazzling and noisy.
——Su Xiaomu.
Tan Lingduan had no reason to refuse such a small request. He still admired this elementary school student who had posted three school-wide announcements in a short period of time.
"Alright, I'll call out the algorithm design of the entire program for you first, you have to take a look at the general outline, the algorithm part of the data structure has a special mark, just locate it directly."
"The algorithm design of the whole program is relatively large. The bottom layer uses C++, and the data and data structure uses Java and Python. Do you understand it?"
Tan Ling was bending down to operate on the workbench while introducing it verbosely.
When I stood up straight, there was a lot of content on the monitor screen of the workbench.
Su Xiaomu on the side nodded and said shyly, "C++ and Python are okay, but Java is not so good, so let me take a look first?"
Seeing Tan Ling nodding to get out of the way, Su Xiaomu sat in front of the workbench.
The topic itself is relatively loose, and everyone is not busy anyway, so a few heads crowded over here scattered.
The only undergraduate student that Professor Zhang Ke has accepted over the years, apart from the curiosity of the insiders of the college, they are also very curious about it.
Zhang Ke looked at it with a smile in his arms while holding the thermos, but he didn't speak. Xu remembered that he was so young, so outstanding, so...
Thinking about it, he suddenly thought of his crazily receding hairline, and took a big gulp of angelica wolfberry water.
Still have to pay attention to maintenance.
…………
The whole program is clearly listed from the general outline of algorithm design, and the selection of data structure retrieval algorithm is also unveiled.
Su Xiaomu rested his chin with his left hand, and scrolled the mouse with his right hand from time to time, with a thoughtful expression on his face.
To be honest, this is the first time he has seen such an elegant code except for the one he wrote.
Professor Zhang Ke is indeed the most rigorous and humorous professor in the school. The students he selects are exceptionally good, and he does not hesitate to strive for excellence in his subjects.
The design of some algorithms in the general outline is a little bit out of the outline for Su Xiaomu, and his brows frowned involuntarily.
The experience of AC to more than 1300 questions at UVA played a role. I fiddled with my right hand unconsciously for a while, and frowned.
So and so, about 10 minutes later, Su Xiaomu smiled shyly and said.
"The retrieval algorithm of the data structure, I think it seems that it can be done like this...
There are many ways to traverse a binary tree, just like what university we go to and what major we choose, the method of traversal is different depending on the choice, so, can we do this..."
Crackling, slender fingers waving light on the keyboard.
"Don't! Move! My old swan! Don't move!"
Tan Ling pushed up his glasses suddenly and quickly stopped him.
"Junior brother, I have to say this to you as a senior. Although the codes we work on are all backed up, it is generally not recommended to modify them without authorization... balabala~"
Da~ da da~ da da da.
The rhythm of keyboard tapping and the babbling of balabala played the music that was fast and slow for a while.
"Ah, I will definitely remember to say it in advance, but senior, look at this, although there are still different choices, but it seems to be a little more convenient in terms of retrieval..."
When Tan Ling was talking, Su Xiaomu didn't stop the movements of his hands. At this time, he typed the last ";", made a small gesture, and said in a konjac voice.
Ok?
Tan Ling was stunned for a moment, and then looked confused.
Is this changed?
Don't you need to think about the design of the algorithm first?
Does the keyboard listen to you like this?
Also, you...
What the fuck?
this is okay too?
"Uh, elementary school brother, you said, you are here to mess things up, in fact!"
After a moment, Tan Ling said abruptly.
The algorithm design of the data structure part of the program was done by him, Tan Ling himself.
Su Xiaomu smiled shyly, "No, I just happen to know a little bit about data structure and its relationship with algorithms."
hehe~
hehehe~
hehehe~
Coincidentally, I know a little bit...
Am I pretty?I ask you, am I pretty?
Every bloodshot, every bit of swelling in the eyes of several seniors behind Tan Ling was saying this.
"Wow, Junior Brother Xiaomu, why are you so powerful?"
An exclamation sounded from Su Xiaomu's right side, and when he turned his head, he saw Lin Tang, the legitimate loli, clasping his hands, blinking and staring out of his eyes.
If he didn't know her skin, Su Xiaomu would have believed it.
"Well, Senior Sister Lin, do you know that Li Shizhen is not dead?" Su Xiaomu raised his eyebrows suddenly.
Lin Tang: "???"
What, what do you mean?
Why does this person's eyebrows feel a little...
While Lin Tang was still thinking about what Su Xiaomu's words meant, Su Xiaomu had already devoted himself to modifying the next code.
…………
…………
In the next half an hour, Su Xiaomu picked out a piece of code and optimized it locally.
Since the small garbage system gave the knowledge of data structure, Su Xiaomu has not systematically used this part of knowledge.
Even in the development of the Saoke APP, it is just a simple application - because...
Not useful.
"There are many ways to sort data, we can do this part..."
Su Xiaomu modified the code while talking, his slender hands seemed to be waving bright wind, very dazzling.
The structure of the data is not static, at least, for Su Xiaomu, it is like this.
He can row a boat without an oar, he can sail without a direction, as long as he can type the keyboard fast enough, he can catch up with the speed of his speech...
As for the other modules, Su Xiaomu will not go to the class to make an axe, some parts are beyond the outline, not to mention optimizing, it takes a little effort to understand...
Professor Zhang Ke, who was holding a thermos and drinking angelica wolfberry water from time to time, rubbed his chin and thought to himself.
"This Yangcheng is too big, it's so difficult to find out some information! This kid, I have to see how many things he has!"
It's also interesting to say that without the basic principles of data, metadata and storage structure given by the small garbage system, Su Xiaomu might not be able to be so calm.
Dirty data also exists in the data. The generation of dirty data is usually uncontrollable and absolutely invalid. It will also occupy space and even affect normal data.
Carefully selected data structures can effectively reduce the generation of dirty data. ①
Moreover, careful optimization of data structure retrieval algorithms and indexes can make data operation more efficient and data storage more efficient.
Make the data itself less bloated.
This is also the part that Professor Zhang Ke hopes to optimize, which can effectively save storage resources and make calculations faster.
In fact, it is really hard to imagine that data can look so elegant.
When Su Xiaomu hit the last ';', all operations ended.
Lin Tang bit his lower lip lightly, clasped his hands together and patted his chest, "Xiao Mu, how can you be so powerful! Hey!"
Su Xiaomu: "..."
Can I apply for a brain-saving transfer?
This elementary school girl is so naughty!
I really want to punch a monster.
emmmmm.
"Theoretically speaking, the current data structure should increase data storage efficiency by 20.00% and operational efficiency by 15.00%."
Finally, Su Xiaomu concluded.
Both Tan Ling and Zhang Ke nodded.
"Primary school boy, can't you see it? You are a bit inferior at this level. You have to suggest to our school to take enough credits so that outstanding students can apply for skipping grades."
Tan Ling said with a smile.
Su Xiaomu quickly got up and waved his hands, and said very honestly. "You are so flattering. I still have a lot to learn. As far as the algorithm design in many parts of this program is concerned, I, just, can't understand..."
Looking at the eyes that were getting more and more strange, Su Xiaomu scratched his head and finished speaking.
…………
…………
After that, Tan Ling stepped forward to host the program, and several seniors, including the mischievous Senior Lin, also entered their roles.
To be honest, Su Xiaomu only knew [-]% or [-]% of the design of the entire program, no matter how cocky he was, he would not preside over the program so carelessly.
Tan Ling and the others moved very quickly. Within a few minutes, the 16 computing nodes started working again.
The program returns various parameters.
After a long time, Tan Ling looked back at the display screen, sighed and said.
"Professor, the data storage efficiency is indeed as high as the elementary school student said, it is more than 20.00% higher, and the operating efficiency is also higher by 20.00%, but the problem is still there. According to the existing feedback results, only 32 computing nodes can barely be used. ..."
The perennial problem lies ahead:
There are only so many storage resources, and there are only two ways: to apply for more storage resources, and to apply to manufacturers for optimization, and to use the same storage resources to perform more calculations.
The bottleneck is actually not storage space, but storage performance, processing efficiency, pressure, etc.
If it were storage space, Professor Zhang Ke would have already thought of a solution.
Let's put it this way, with the same storage space and different storage matrix configurations, the performance can differ by 20 times, 100 times or even hundreds of times.
There are many parameters involved.
For example, the speed of the hard disk, the size, quantity, and specification of the hard disk, the performance of the processor and memory of the storage head, the corresponding efficiency, IOPS, and throughput of the storage system. ②
Hard disks have different sizes, capacities and rotation speeds. The faster the rotation speed, the higher the efficiency of data reading and writing. Although the storage space is the same, a 4T 7200-rpm hard disk and 14 pieces of 300GB 4-rpm solid-state drives with a total of 15000T space are used. , the efficiency is absolutely heaven and earth.
In this regard, Su Xiaomu can't help, even though Meng Lang actually thought about writing a program on the storage to help the storage to write data to the hard disk faster, so that the hardware resources of the storage can be maximized...
①: I just said this casually. The concept of dirty data is too complicated to explain. As long as there is data, basically there may be dirty data.
②: IOPS: That is, the number of data read and write (I/O) operations per second. In other words, it is roughly equivalent to when we copy and paste files every day, it will display tens of M per second.
======
Broken bowl.Please recommend tickets and refills.
There is an update today, but there are more than 3000 words.
(End of this chapter)
Sometimes it is not good to know too much, to be too good, to be extraordinarily dazzling and noisy.
——Su Xiaomu.
Tan Lingduan had no reason to refuse such a small request. He still admired this elementary school student who had posted three school-wide announcements in a short period of time.
"Alright, I'll call out the algorithm design of the entire program for you first, you have to take a look at the general outline, the algorithm part of the data structure has a special mark, just locate it directly."
"The algorithm design of the whole program is relatively large. The bottom layer uses C++, and the data and data structure uses Java and Python. Do you understand it?"
Tan Ling was bending down to operate on the workbench while introducing it verbosely.
When I stood up straight, there was a lot of content on the monitor screen of the workbench.
Su Xiaomu on the side nodded and said shyly, "C++ and Python are okay, but Java is not so good, so let me take a look first?"
Seeing Tan Ling nodding to get out of the way, Su Xiaomu sat in front of the workbench.
The topic itself is relatively loose, and everyone is not busy anyway, so a few heads crowded over here scattered.
The only undergraduate student that Professor Zhang Ke has accepted over the years, apart from the curiosity of the insiders of the college, they are also very curious about it.
Zhang Ke looked at it with a smile in his arms while holding the thermos, but he didn't speak. Xu remembered that he was so young, so outstanding, so...
Thinking about it, he suddenly thought of his crazily receding hairline, and took a big gulp of angelica wolfberry water.
Still have to pay attention to maintenance.
…………
The whole program is clearly listed from the general outline of algorithm design, and the selection of data structure retrieval algorithm is also unveiled.
Su Xiaomu rested his chin with his left hand, and scrolled the mouse with his right hand from time to time, with a thoughtful expression on his face.
To be honest, this is the first time he has seen such an elegant code except for the one he wrote.
Professor Zhang Ke is indeed the most rigorous and humorous professor in the school. The students he selects are exceptionally good, and he does not hesitate to strive for excellence in his subjects.
The design of some algorithms in the general outline is a little bit out of the outline for Su Xiaomu, and his brows frowned involuntarily.
The experience of AC to more than 1300 questions at UVA played a role. I fiddled with my right hand unconsciously for a while, and frowned.
So and so, about 10 minutes later, Su Xiaomu smiled shyly and said.
"The retrieval algorithm of the data structure, I think it seems that it can be done like this...
There are many ways to traverse a binary tree, just like what university we go to and what major we choose, the method of traversal is different depending on the choice, so, can we do this..."
Crackling, slender fingers waving light on the keyboard.
"Don't! Move! My old swan! Don't move!"
Tan Ling pushed up his glasses suddenly and quickly stopped him.
"Junior brother, I have to say this to you as a senior. Although the codes we work on are all backed up, it is generally not recommended to modify them without authorization... balabala~"
Da~ da da~ da da da.
The rhythm of keyboard tapping and the babbling of balabala played the music that was fast and slow for a while.
"Ah, I will definitely remember to say it in advance, but senior, look at this, although there are still different choices, but it seems to be a little more convenient in terms of retrieval..."
When Tan Ling was talking, Su Xiaomu didn't stop the movements of his hands. At this time, he typed the last ";", made a small gesture, and said in a konjac voice.
Ok?
Tan Ling was stunned for a moment, and then looked confused.
Is this changed?
Don't you need to think about the design of the algorithm first?
Does the keyboard listen to you like this?
Also, you...
What the fuck?
this is okay too?
"Uh, elementary school brother, you said, you are here to mess things up, in fact!"
After a moment, Tan Ling said abruptly.
The algorithm design of the data structure part of the program was done by him, Tan Ling himself.
Su Xiaomu smiled shyly, "No, I just happen to know a little bit about data structure and its relationship with algorithms."
hehe~
hehehe~
hehehe~
Coincidentally, I know a little bit...
Am I pretty?I ask you, am I pretty?
Every bloodshot, every bit of swelling in the eyes of several seniors behind Tan Ling was saying this.
"Wow, Junior Brother Xiaomu, why are you so powerful?"
An exclamation sounded from Su Xiaomu's right side, and when he turned his head, he saw Lin Tang, the legitimate loli, clasping his hands, blinking and staring out of his eyes.
If he didn't know her skin, Su Xiaomu would have believed it.
"Well, Senior Sister Lin, do you know that Li Shizhen is not dead?" Su Xiaomu raised his eyebrows suddenly.
Lin Tang: "???"
What, what do you mean?
Why does this person's eyebrows feel a little...
While Lin Tang was still thinking about what Su Xiaomu's words meant, Su Xiaomu had already devoted himself to modifying the next code.
…………
…………
In the next half an hour, Su Xiaomu picked out a piece of code and optimized it locally.
Since the small garbage system gave the knowledge of data structure, Su Xiaomu has not systematically used this part of knowledge.
Even in the development of the Saoke APP, it is just a simple application - because...
Not useful.
"There are many ways to sort data, we can do this part..."
Su Xiaomu modified the code while talking, his slender hands seemed to be waving bright wind, very dazzling.
The structure of the data is not static, at least, for Su Xiaomu, it is like this.
He can row a boat without an oar, he can sail without a direction, as long as he can type the keyboard fast enough, he can catch up with the speed of his speech...
As for the other modules, Su Xiaomu will not go to the class to make an axe, some parts are beyond the outline, not to mention optimizing, it takes a little effort to understand...
Professor Zhang Ke, who was holding a thermos and drinking angelica wolfberry water from time to time, rubbed his chin and thought to himself.
"This Yangcheng is too big, it's so difficult to find out some information! This kid, I have to see how many things he has!"
It's also interesting to say that without the basic principles of data, metadata and storage structure given by the small garbage system, Su Xiaomu might not be able to be so calm.
Dirty data also exists in the data. The generation of dirty data is usually uncontrollable and absolutely invalid. It will also occupy space and even affect normal data.
Carefully selected data structures can effectively reduce the generation of dirty data. ①
Moreover, careful optimization of data structure retrieval algorithms and indexes can make data operation more efficient and data storage more efficient.
Make the data itself less bloated.
This is also the part that Professor Zhang Ke hopes to optimize, which can effectively save storage resources and make calculations faster.
In fact, it is really hard to imagine that data can look so elegant.
When Su Xiaomu hit the last ';', all operations ended.
Lin Tang bit his lower lip lightly, clasped his hands together and patted his chest, "Xiao Mu, how can you be so powerful! Hey!"
Su Xiaomu: "..."
Can I apply for a brain-saving transfer?
This elementary school girl is so naughty!
I really want to punch a monster.
emmmmm.
"Theoretically speaking, the current data structure should increase data storage efficiency by 20.00% and operational efficiency by 15.00%."
Finally, Su Xiaomu concluded.
Both Tan Ling and Zhang Ke nodded.
"Primary school boy, can't you see it? You are a bit inferior at this level. You have to suggest to our school to take enough credits so that outstanding students can apply for skipping grades."
Tan Ling said with a smile.
Su Xiaomu quickly got up and waved his hands, and said very honestly. "You are so flattering. I still have a lot to learn. As far as the algorithm design in many parts of this program is concerned, I, just, can't understand..."
Looking at the eyes that were getting more and more strange, Su Xiaomu scratched his head and finished speaking.
…………
…………
After that, Tan Ling stepped forward to host the program, and several seniors, including the mischievous Senior Lin, also entered their roles.
To be honest, Su Xiaomu only knew [-]% or [-]% of the design of the entire program, no matter how cocky he was, he would not preside over the program so carelessly.
Tan Ling and the others moved very quickly. Within a few minutes, the 16 computing nodes started working again.
The program returns various parameters.
After a long time, Tan Ling looked back at the display screen, sighed and said.
"Professor, the data storage efficiency is indeed as high as the elementary school student said, it is more than 20.00% higher, and the operating efficiency is also higher by 20.00%, but the problem is still there. According to the existing feedback results, only 32 computing nodes can barely be used. ..."
The perennial problem lies ahead:
There are only so many storage resources, and there are only two ways: to apply for more storage resources, and to apply to manufacturers for optimization, and to use the same storage resources to perform more calculations.
The bottleneck is actually not storage space, but storage performance, processing efficiency, pressure, etc.
If it were storage space, Professor Zhang Ke would have already thought of a solution.
Let's put it this way, with the same storage space and different storage matrix configurations, the performance can differ by 20 times, 100 times or even hundreds of times.
There are many parameters involved.
For example, the speed of the hard disk, the size, quantity, and specification of the hard disk, the performance of the processor and memory of the storage head, the corresponding efficiency, IOPS, and throughput of the storage system. ②
Hard disks have different sizes, capacities and rotation speeds. The faster the rotation speed, the higher the efficiency of data reading and writing. Although the storage space is the same, a 4T 7200-rpm hard disk and 14 pieces of 300GB 4-rpm solid-state drives with a total of 15000T space are used. , the efficiency is absolutely heaven and earth.
In this regard, Su Xiaomu can't help, even though Meng Lang actually thought about writing a program on the storage to help the storage to write data to the hard disk faster, so that the hardware resources of the storage can be maximized...
①: I just said this casually. The concept of dirty data is too complicated to explain. As long as there is data, basically there may be dirty data.
②: IOPS: That is, the number of data read and write (I/O) operations per second. In other words, it is roughly equivalent to when we copy and paste files every day, it will display tens of M per second.
======
Broken bowl.Please recommend tickets and refills.
There is an update today, but there are more than 3000 words.
(End of this chapter)
You'll Also Like
-
Sailing: Navy Luffy, Garp regrets it
Chapter 250 6 hours ago -
Rebirth 2003: Dominate the Tech World
Chapter 130 11 hours ago -
A Journey Through the Worlds of Film and Television
Chapter 499 13 hours ago -
Honkai Impact 3rd: Graduation Trip Played at the Beginning
Chapter 108 13 hours ago -
I left because I was deeply hurt, and the seven young ladies cried with regret
Chapter 199 13 hours ago -
I, the strongest poisoner, am called the living king of hell by the empress
Chapter 243 13 hours ago -
I can be invincible all by myself, martial arts, upper body!
Chapter 380 13 hours ago -
Pokémon: The game starts with an unexpected capture of Rayquaza
Chapter 138 13 hours ago -
Becoming an Immortal Emperor depends entirely on the efforts of the enemy
Chapter 186 13 hours ago -
Pirates: Eat artificial fruit and become Kaido II
Chapter 91 13 hours ago