[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
re: plan9 style arg parse module
- To: inferno@interstice.com
- Subject: re: plan9 style arg parse module
- From: philw@plan9.bell-labs.com
str = str[1:] is not real cheap in the current implentation of the vm. tracking the index is much more efficient. You currently generate an alloc and copy for each string slice. Arrays are implmented differently and it much cheap since there is no data copy. As it says in the bug page I am not happy with the current string implentation and I am working on something much more efficient. phil
- Prev by Date: plan9 style arg parse module
- Next by Date: Dis Questions
- Prev by thread: plan9 style arg parse module
- Next by thread: Dis Questions
- Index(es):