typeface
large
in
Small
Turn off the lights
Previous bookshelf directory Bookmark Next

Chapter 77 Konjac's Su Xiaomu and the long-lost you

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.

"Junior, can't you tell? You are a bit underachieving at your level. You need to suggest to our school that you should earn enough credits so that outstanding students can apply to skip a grade."

Tan Ling said with a smile.

Su Xiaomu quickly stood up, waved his hands, and said honestly. "You are so flattering. I still have a lot to learn. I just can't understand the algorithm design in many parts of this program..."

Seeing a pair of eyes that were getting more and more strange, Su Xiaomu scratched his head and finished speaking.

…………

…………

After that, Tan Ling stepped forward to preside over the program, and several senior students, including the naughty Senior Lin, also entered their roles.

To be honest, Su Xiaomu only understands 80 to 90% of the design part of the entire program. No matter how stubborn he is, he will never host the program without any skills.

Tan Ling and the others moved quickly, and within a few minutes, the 16 computing nodes began to work again.

The program returns a variety of parameters.

After a long time, Tan Ling looked back at the display screen, sighed, and said.

"Professor, the data storage efficiency is indeed as the junior student said. It is more than 25% higher, and the operating efficiency is also 20% higher. But the problem is still the same. According to the existing feedback results, we can only

Barely 32 computing nodes..."

The big and difficult problem lies ahead:

There are only so many storage resources, and there are only two ways: apply for more storage resources, apply for manufacturers to optimize, and 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 specifications of the hard disk space, the performance of the storage head processor, memory, etc., the corresponding efficiency of the storage system, iops, throughput, etc. 2

Hard drives have different sizes, capacities and rotation speeds. The faster the rotation speed, the higher the data reading and writing efficiency. Although the storage space is the same, a 4t 7200 rpm hard drive and 14 300gb 15000 rpm solid state drives with a total of 4t space are used.

, the efficiency is absolutely heaven and earth.

Su Xiaomu couldn't help with this, although Meng Lang had actually considered writing a program to put on the storage to help the storage write data to the hard drive faster, so that the storage hardware resources could be used to their full potential...

1: I just said this casually. The concept of dirty data is too complicated to explain. As long as there is data, dirty data is basically likely to exist.

2: iops: The number of data read and write (i/o) operations per second. In other words, it is roughly equivalent to the display of tens of m per second when we copy and paste files every day.

Broken bowl. Please recommend votes and refills.

One update today, but there are more than 3,000 words.


This chapter has been completed!
Previous Bookshelf directory Bookmark Next