You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If this emerges it'll come from the work on regions, and be implementable in libraries. Closing as indefinitely-postponed for now. It's unlikely this bug will remain relevant when the pieces are in place.
LLVM uses a lot of StringRef and ArrayRef. They are really handy and efficient, being implemented with just a pointer and size.
Some uses of it are safe (call a function with StringRef to a string that outlives the call), some unsafe (StringMap return a StringRef).
Go makes this kind of things builtin to the language (http://golang.org/doc/effective_go.html#slices), maybe we could do the same.
The text was updated successfully, but these errors were encountered: