Lars Gullik Bjønnes wrote:

> Georg Baum <[EMAIL PROTECTED]>
> writes:
> 
> | Lars Gullik Bjønnes wrote:
> | 
> | > Why a separate from_ascii really? If it is ascii, then it is also
> | > utf-8.
> | 
> | Sure. I made it separate because that makes the intention very clear: If
> | we know that it is ASCII we don't need a more costly utf8 conversion.
> | And from_ascii is not supposed to go away as from_utf8 is.
> 
> If it is ascii then the utf8 conversion is not costly...

Eveen then I still prefer a separate from_ascii since it makes the intention
clear.


Georg

Reply via email to