UTF-8 strings

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

UTF-8 strings

Tony Morris

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 24/12/10 14:50, Arya Irani wrote:

> Ok, so...
>
> What are some performance considerations that should be kept in
> mind when implementing a UTF string library?
>
> Must a UTF8 string be stored as an Array[Byte]? What about
> Seq[Seq[Byte]] or Array[Seq[Byte]] or Array[Array[Byte]], where
> each element represents a code point?
>
> -Arya
How about we move this to scala-debate with an appropriate topic?

After all, the original post asked about ropes in scala (of which I
know of an implementation in scalaz) and a few other things around
this topic and not UTF-8 and strings on the JVM.

Just suggestin'

- --
Tony Morris
http://tmorris.net/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0UJ5kACgkQmnpgrYe6r61L+ACfYR88V71ivugCXYeBS8opqrD8
eHEAnRoxWJ/Oz2v5RifzHfds3+LJ4JWl
=/ZEg
-----END PGP SIGNATURE-----