Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
reactordev
on May 6, 2023
|
parent
|
context
|
favorite
| on:
Monoliths are not dinosaurs
But this is a slice. So technically a []char?
selcuka
on May 7, 2023
[–]
Not really. It's only a reference to the original string, a start index, and an end index. It doesn't store a second (partial) copy of the string.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: