Font
Large
Medium
Small
Night
Prev Index    Favorite Next

Chapter 77 Database, complete! Thank you for your support]

After the law enforcement elders and the head left, several elders left one after another. In this case, what's the use of demonstrating it?

Even the most basic call between disciples in the sect cannot be done, so there is still the need to continue watching other functions?

One of the elders even didn't even look at the pale monk on the sky and announced loudly.

"The magic weapon is invalid, everyone will go back and practice it!"

After saying that, all the remaining elders left, and even Wen Chi left with Luo Zhen. In a blink of an eye, Yu Xinbo was the only one left on the stage.

He looked at the monk in the sky coldly, and Yu Xinbo snorted coldly, teleported away without even saying a word.

When the first token expired, he turned his attention to Luo Zhen.

The characteristics of the magic sound magic weapon are public. As long as there is the same number, the magic weapon will be invalid. Therefore, at the moment when the token expires, he immediately suspected Luo Zhen.

However, in his eyes, Luo Zhen did not act abnormally, and he didn't even move his hands. He monitored him for a while. Seeing that he was not making trouble, Yu Xinbo also dispelled his suspicion of him.

He didn't think that Luo's formation could escape his perception by just building a foundation.

In fact, Luo Zhen didn't even notice that he was using his spiritual sense to observe himself. If the Nascent Soul Cultivator uses his spiritual sense to observe a young monk in the Foundation Establishment Stage, if he discovered it, Yu Xinbo would simply hit the wall and commit suicide.

In fact, Yu Xinbo also knew that the possibility of someone making trouble was almost zero.

The reason is very simple. Only the two of them knew the numbers used to demonstrate in advance, and the purpose was to prevent Luo Zhen and others from making trouble.

After all, they are in a competitive relationship and have to be careful.

These tokens are just for demonstration and will not be placed in the sect. In this way, even if they refine magic weapons with the same number afterwards, it doesn't matter. Anyway, the demonstration has been successfully completed, and no one knows that these tokens are destroyed.

Therefore, if they want to make trouble, they can only make these numbers into magic tools or talisman arrays on the spot. Since the numbers are not exposed, the possibility of them being prepared in advance is ruled out. Since Luo Cheng has done any abnormal actions on the spot, the possibility of the two of them being slutty can be ruled out.

After removing this possibility, there is only one reason left.

This girl lost her links at a critical moment!

To be honest, Yu Xinbo was already very restrained without MMP on the spot.

Wen Chi took Luo Zhen back to the cave. Although he knew this was not good, he still couldn't help but smile on his face.

Luo Zhen was in a good mood, and indeed, he mocked him for defeating his character.

"Haha, Luo Cheng, you continue to find a way to deal with the formation pattern of the jade slip. I will talk to the senior brother of the sect to try to transform the formation pattern as soon as possible. As long as the jade slip can be made that can also be used, our magic weapon will probably be able to be made soon."

"Well, senior, please don't worry, I will definitely do my best."

That being said, Luo Cheng did not intend to take out the array pattern in advance.

Explosion?

tan90, does not exist.

Anyway, his competitors have failed now, so he has nothing to worry about.

As long as the Luo Formation still keeps the formation of those numbers in an active state, the tokens in their hands will definitely not be used normally.

The problem with these tokens during the demonstration was these tokens. Even if they were so clever, these tokens could not be used but could not be avoided. They were things that the people of Xiaoyao Sect would definitely check.

During the demonstration, there was a problem with these tokens. At least you have to show the ability to solve this problem, right?

Even if Yu Xinbo and the others help him talk, this is a flaw that cannot be avoided.

So, Luo Zhi simply delayed it for more than ten days.

It feels like a salted fish. It’s awesome.

More than ten days later, Luo Zhen finally came up with a version that could be used. Of course, in order to avoid stimulating the group of technical homes and advanced patients with paranoia, Luo Zhen deliberately left a defect that was just enough to repair with their strength, saying that he was unable to solve it, so he could only do so.

After half a month of research and research, the Yujian team finally repaired this defect.

At this point, both sides were very satisfied.

The Jade Sword Team glanced at Luo Zhengao, but it retained its pride and dignity just right.

Luo Zhen was deeply relieved and could finally start to get to the point.

He had long conceived how to do the Jade Slip version of the database. He couldn't figure out MySQL and SQLServer, but it was still okay to create a simple version of Redis.

Moreover, there is still a big difference between the jade slip and the database in the previous life, and the reading and writing speed is extremely fast, so what he needs to consider is to quickly find what he needs.

And if you don’t have to consider insertion and deletion, when it comes to the fastest query speed, it is an array.

The time complexity of the query is O(1).

In other words, you can find what you need in just one time.

After all, as long as there is a subscript, it's fine.

Luo Zhi has not found a way to use the array to implement the hashing algorithm, so it is obvious that the current primary key can only choose to increase the ID, and use the primary key as the subscript of the array to quickly address it.

In this way, concurrency problems will arise, that is, if two people operate at the same time, they will generate the same ID, so a simple lock must be implemented.

Luo Zhen did not design too complicated, or he could not get something too complicated and perfect at present, so after consideration, his final plan was like this.

When inserting new data, lock the table directly, obtain the self-increment ID, and then unlock the data table.

Although not very friendly, it is the easiest to achieve.

When modifying, use timestamps to check whether the data has expired and avoid repeated modifications.

At this time, the benefits of setting the time before was highlighted. In his previous life, the timestamp was 0:00:00 on January 1, 1970 as .asxs., and in this world, Luo Zhi sets the .asxs. time to a special day.

The day I traveled through.

Just treat it as a souvenir.

Although the function is very simple, it is enough to meet his basic needs.

Make the things first, and then slowly optimize the rest.

With the database, you can start formally designing the sect token.

Needless to say, with the database, the magic array was created again. Two months later, he created the formation, and with Wen Chi as an auxiliary, two days later, several tokens in the internal test version, together with the database, were created by them.

They tested it several times below, and after confirming that there was no problem, Wen Chi took the token to find the leader, first demonstrated it to him, and then the leader convened the elders' meeting to prepare for the second demonstration.
Chapter completed!
Prev Index    Favorite Next