Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

Yeah, and this is one of the many reasons why performance programmers usually do not touch std::string.


view as:

Yeah, they might want some sort of string type that you can't implicitly copy, like Rust's.

Rust's String does not implement Copy. &str does. (That means Strings aren't ever implicitly copied.)

That's what I said.

Ah, now that you say that, I see that my brain produced a _very_ poor parse. Sorry :(

I was speaking in TI-85 and you were reading in TI-83 :)

Legal | privacy