0% found this document useful (0 votes)
3 views5 pages

Efficient Mutable String Handling

The document discusses mutable strings in programming, highlighting their advantages such as efficiency and thread safety. It contrasts mutable strings with string builders, noting that the latter is not thread safe. Additionally, there are references to memory management and random character generation.

Uploaded by

MoOmin ManzOor
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views5 pages

Efficient Mutable String Handling

The document discusses mutable strings in programming, highlighting their advantages such as efficiency and thread safety. It contrasts mutable strings with string builders, noting that the latter is not thread safe. Additionally, there are references to memory management and random character generation.

Uploaded by

MoOmin ManzOor
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Sitting Buffer: -> Mutable characters.

of
-

- seg

string
a "Rahol";
=
a =

&
"Kral";
rilesbig pool
& memory/heps etc.
-

W 1 -
"Ruhal"

ry"
Advantay es e

⑪ Mutable

② Efficient
③ Thread safe

Builder is not
string
thread safe.
a 5
=

x ·P
1x
sping Str= +
p ....


r
wasted
I

I

str

& ->
a

tadinchart:
thie.
-

[Link].

↑-
at + (int) (26*ra)
charch= <char)
-
random the

You might also like