Re: [erlang-questions] extrange output of  on erlang

Robert Virding <>
Sun Feb 7 16:47:20 CET 2010


For some reason the format strings in test/1 contain the  character
so it is naturally printed out. As far as I can see there are two
reasons to why Joel did not see it hwile you did:

- Something happened when copying the files to introduce them.
- On Joel's machine non.ASCII characters were not printed out in his
terminal window while they are in yours.

What is more interesting is that on your machine the relative times
are different.

Robert

On 7 February 2010 15:29, Angel <> wrote:
> Hi
>
> just reading some Joél redmont articles.
>
> He did and array vs tree comparison and blogged the results
> so im just downloaded his code and tried...
>
> (code attached)
>
> Joel's test shows:
>
> 27> arr:test().
>
> Fixed-size array: get: 2921us, set: 5902us
> Extensible array: get: 3336us, set: 8144us
> Tuple: get: 632us, set: 107467us
> Tree: get: 4321us, set: 45256us
> ok
>
>
> Where me machine shows:
>
> 1> arr:test().
>
> Fixed-size array: get:    11586µs, set:    24969µs
> Extensible array: get:    11586µs, set:    23787µs
> Tuple:            get:     1223µs, set:   491196µs
> Tree:             get:     9480µs, set:   101000µs
> ok
>
>
> I cant explain where that strange  come... (tested on openSUSE 11.2 Konsole)
>
> Anyone can tell me what's wrong on my machine???
>
>
>
>
>
>
> --
> Most people know C is not so high level....
>                ...Everybody else just got assembler overdose
>
>
>
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:
>


More information about the erlang-questions mailing list