Tested on Racket 6.0.1
(define str (string->bytes/locale "abcdefghабвгде"))
(time
(for ([i 100])
(bytes->string/locale str)))
(time
(for ([i 100])
(bytes->string/utf-8 str)))
Windows 7 x32:
> (enter! "test.rkt")
cpu time: 859 real time: 908 gc time: 78
cpu time
Tested on new racket 6.1
$ /usr/racket/bin/racket
Welcome to Racket v6.1.
> (enter! "test.rkt")
cpu time: 3472 real time: 3479 gc time: 44
cpu time: 608 real time: 604 gc time: 8
Even worse :-(
Sat, 02 Aug 2014 22:22:22 +0400 от Roman Klochkov :
>Tested on Racket 6.0.1
>
>
>(define
> Hi,
>
> In trying to look up the documentation for some of the new features in the
> release it looks like the documentation on http://docs.racket-lang.org is
> still for 6.0.1
>
> I was able to just use the local documentation, so it’s not a big deal. I
> just wanted to make sure it didn’
3 matches
Mail list logo