diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-04-08 23:01:32 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-04-08 23:01:32 -0400 |
commit | ea34b1b90ca5ba3b87725662f6a1ff03b7a88a1f (patch) | |
tree | f9289a7c3a981755b54860555a65a6afde26ba72 /src/time/utime.c | |
parent | a49e038bab7b3927b6a9c7d0c52f9e1a9cb82629 (diff) | |
download | musl-ea34b1b90ca5ba3b87725662f6a1ff03b7a88a1f.tar.gz |
implement mbtowc directly, not as a wrapper for mbrtowc
the interface contract for mbtowc admits a much faster implementation
than mbrtowc can achieve; wrapping mbrtowc with an extra call frame
only made the situation worse.
since the regex implementation uses mbtowc already, this change should
improve regex performance too. it may be possible to improve
performance in other places internally by switching from mbrtowc to
mbtowc.
Diffstat (limited to 'src/time/utime.c')
0 files changed, 0 insertions, 0 deletions