Hacker News new | past | comments | ask | show | jobs | submit login

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.



Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: