Chapter 77 Konjac's Su Xiaomu and the long-lost you(1/2)
Sometimes it is not good to know too much, to be too good, to be so good that it is particularly dazzling and noisy.
Su Xiaomu.
Tan Lingduan had no reason to refuse this small request. He still admired this junior student who had posted three school announcements in a short period of time.
"That's okay. I'll show you the algorithm design of the entire program first. You have to take a look at the general outline. The algorithm part of the data structure has special marks. Just locate it directly."
"The algorithm design of the entire program is relatively large. The bottom layer is c, and the data and data structure are java and python. Do you understand this?"
Tan Ling was bending down to operate on the workbench, while introducing it in a rambling manner.
When I straightened up, there was a lot more content on the monitor screen on the workbench.
Su Xiaomu on the side nodded and said shyly, "C and python are okay, but java is a bit worse. So, let me take a look first?"
Seeing Tan Ling nod and move away, Su Xiaomu sat in front of the workbench.
The topic itself was relatively loose, and since everyone was not busy for a while, a few heads crowded in here and there.
In addition to the insiders in the college who are curious about this only undergraduate student that Professor Zhang Ke has accepted in so many years, they are also very curious.
Zhang Ke held the thermos cup and looked at it with a smile without saying anything. Perhaps he remembered that he was once so young, so good, so...
As I was thinking about it, I suddenly thought of my crazily receding hairline, and took a big sip of angelica and wolfberry water.
Still need to pay attention to maintenance.
…………
The entire program is clearly laid out from the algorithm design outline, and the selection of data structure retrieval algorithms is also unveiled.
Su Xiaomu held his chin with his left hand and scrolled the mouse with his right hand from time to time, looking thoughtful.
To be honest, this is the first time he has seen such elegant code except what he has written.
Professor Zhang Ke is indeed the most demanding and humorous professor in the school. He selects exceptionally outstanding students and strives for excellence in his subjects.
The design of some algorithms in the general outline was a little out of line for Su Xiaomu, and his brows furrowed involuntarily.
The experience of acing more than 1,300 questions at UVA came into play. I fiddled with it unconsciously with my right hand for a while, and my furrowed brows unfurled.
Like this, about twenty minutes later, Su Xiaomu smiled shyly and said.
"I think this retrieval algorithm for data structure 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. Different choices lead to different traversal methods. So, can we do this..."
Crackling, slender fingers waved 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, senior. Although the codes we work on are all backed up, it is generally not recommended to modify them without authorization... balabala~"
Ta~ta da~ta da da.
The rhythm of keyboard tapping and the chattering of balabala played a music that was sometimes fast and sometimes slow.
"Ah, I will definitely remember to tell you in advance in the future, but senior, look at this, although there are still different choices, it seems to be a little more convenient in terms of retrieval..."
While Tan Ling was talking, Su Xiaomu didn't stop the movement of his hands. At this time, he typed the last ";", made a small gesture, and said in a sweet voice.
Um?
Tan Ling was stunned for a moment, and then looked confused.
Is this changed?
Doesn’t the algorithm need to be thought about and designed first?
Does the keyboard just listen to you?
And, you...
Damn it?
this is okay too?
"Uh, little brother, you said you came here to cause trouble, right?"
After a moment, Tan Ling said abruptly.
The algorithm design of the program data structure part was previously done by Tan Ling himself.
Su Xiaomu smiled shyly, "No, no, I just happen to know a little bit about data structures and their relationship with algorithms."
Haha~
Hehehe~
Hehehehe~
By chance, I know a little bit...
Am I pretty? Let me ask you, am I pretty?
Every bloodshot and every bit of swelling in the eyes of the senior students behind Tan Ling is saying this.
"Wow, Junior Xiaomu, why are you so powerful?"
An exclamation sounded from the right side of Su Xiaomu. When he turned around, he saw Lin Tang, Liluoli, with his hands folded and his eyes blinking like stars.
If he hadn't known her, Su Xiaomu would have almost believed her.
"Well, Senior Sister Lin, do you know that Li Shizhen is actually not dead?" Su Xiaomu suddenly raised his eyebrows.
Lin Tang: "???"
What, what do you mean?
Why does this person’s eyebrows feel a bit...
While Lin Tang was still thinking about what Su Xiaomu's words meant, Su Xiaomu had already invested in modifying the next piece of code.
…………
…………
In the next half hour, Su Xiaomu selected a specific piece of code and carried out local optimization.
Ever since the Little Garbage System provided knowledge about the data structure, Su Xiaomu has not systematically used this knowledge.
Even in the development of Saoke app, it is only used simply because...
Not useful.
"There are many ways to sort data. We can do this part..."
As Su Xiaomu spoke, he modified the code. His slender hands seemed to be waving in the bright wind, which was very dazzling.
The structure of data is not static, at least, that is the case for Su Xiaomu.
He can row a boat without an oar, he can sail without a direction, and as long as he types on the keyboard fast enough, he can catch up with his speaking speed...
As for the other modules, Su Xiaomu would not go out of his way to do anything. Some places are beyond the scope. Not to mention optimizing, it took some effort to even understand...
Professor Zhang Ke, who was holding a thermos cup and taking sips of angelica and wolfberry water from time to time, rubbed his chin and thought to himself.
"This Yangcheng is so big, it's so difficult to get any information! This kid, I have to see how much stuff he has!"
It's interesting to say that without the basic principles of data, metadata and storage structure provided by the small garbage system, Su Xiaomu might not be able to be so calm.
Dirty data also exists in data. The generation of dirty data is usually uncontrolled, is absolutely invalid, takes up space, and even affects normal data.
Carefully selected data structures can effectively reduce the generation of dirty data.1
Moreover, careful optimization of the data structure's retrieval algorithm and index 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 typed the last ‘;’, all operations ended.
Lin Tang bit his lower lip lightly, clapped his hands in front of his chest, and said, "Junior Xiaomu, how can you be so powerful! Wow!"
Su Xiaomu: "..."
Can I apply for brain-saving transfer?
This little girl is so naughty!
I really want to punch a monster.
emmmm.
"Theoretically, the current data structure should be able to increase data storage efficiency by approximately 20% and operational efficiency by 15%."
Finally, Su Xiaomu concluded.
Tan Ling and Zhang Ke both nodded.
To be continued...