Hi. I’m a special forces. Code name IS SDS
Full Simple Dynamic String
Simple dynamic strings
The other day
The Redis war zone has been invaded by alien species
My cousin C string couldn’t resist and fell back
I want to avenge him
But before I do, I need to step up my game
.
First, I need a smart magazine that counts
Like this,
Oh no, it’s the wrong picture. It’s like this
It’s a quick way to see how many bullets are left
Unlike my cousin,
He had to take out the magazines every time, count them one by one
Every time I want to see the number of bullets in the magazine
I’ll just look at the counter Len
We don’t have guns like the others
Accidentally reloaded too much
The buffer overflows
Speaking human language is blasting
(Partner type is also C string)
My poor cousin,
Standing in line with his partner,
He ended up with a bomb
I got a lump on my head
lesson
I decided to buy a helmet from the profiteer next door
It reminds me before I load
How much capacity is left in the magazine
So I don’t have to blow it
Smart magazine to see how much is left
Smart helmets look at usage
Perfect ~
We got the armor
I still have to find a way to improve my attack
After a bit of haggling
I got another all-purpose muzzle from a shady dealer next door
It allows me to fire all kinds of bullets
That’s what I learned from my younger cousin
The last time he fired one of these bullets:
(C string ends on ‘\0’)
The rest of the bullets won’t come out
I can’t do that again
Before going to war,
I found my drill sergeant to say my final goodbye
But he taught me two more secrets
The first one is “space preallocation.”
(Replacing magazines, in this case, is about changing the capacity of magazines, not replenishing ammo)
That is to say,
With only one bullet left
I want to replace it with a 2 cartridge
That way, the rest of the magazine can be left to a partner who needs it
In other words,
The gatling in your hand has 2MB cartridges
You don’t have to leave too much room when you change the magazine
2MB + 1MB
The second one is lazy space release.
This saves the time needed to change the magazine.
Whew, armed at last
Cousin, wait for me
Brother will avenge you…
· · · · · · · · · · · · · · · · · END · · · · · · · · · · · · · · · · ·