Ticket #325 (closed enhancement: fixed)
calling len() on char*
| Reported by: | scoder | Owned by: | scoder |
|---|---|---|---|
| Priority: | major | Milestone: | 0.12.1 |
| Component: | Optimization | Keywords: | |
| Cc: |
Description
Calling len() on a char* should translate to a call to strlen() instead of creating an intermediate Python string. This has the same semantics as it currently does (i.e. count the string length up the a 0 byte), but would be a lot more efficient.
Change History
Note: See
TracTickets for help on using
tickets.
