huge list matching -- different behaviour on x86_32 and x86_64

Igor Goryachev igor@REDACTED
Thu Jun 15 17:40:20 CEST 2006


Hello.

I have experienced a different behaviour and possibly a weird result
while playing with matching a huge lists on x86_32 and x86_64
machines. Version r10b10 was used in both cases.

The results (see the attachment):

x86_32:
goryachev@REDACTED:~% uname -a
Linux l1 2.6.16-1-686-smp #2 SMP Fri May 5 05:00:58 UTC 2006 i686 GNU/Linux
goryachev@REDACTED:~% erl
Erlang (BEAM) emulator version 5.4.13 [source] [hipe] [threads:0] [kernel-poll]

Eshell V5.4.13  (abort with ^G)
1> tv:b().
matched!
ok


x86_64:
goryachev@REDACTED:~% uname -a
Linux x1 2.6.12-1-em64t-p4-smp #1 SMP Wed Sep 28 03:50:13 CEST 2005 x86_64 GNU/Linux
goryachev@REDACTED:~% erl
Erlang (BEAM) emulator version 5.4.13 [64-bit] [source] [hipe] [threads:0] [kernel-poll]

Eshell V5.4.13  (abort with ^G)
1> tv:b().
not matched!
ok


Could you be so kind to explain me whether it is the expected behaviour?
What more information should I provide for you if it is not enough?

Thank you very much for your attention. The program is attached in the
message.


PS: Well, in the real program I changed it to partial matching,
something like: ["uid", "nickname" | _], and it works now.



-- 
    Igor Goryachev              E-Mail/Jabber: igor@REDACTED

-------------- next part --------------
A non-text attachment was scrubbed...
Name: tv.erl
Type: application/octet-stream
Size: 1606 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20060615/bc60bc1b/attachment.obj>


More information about the erlang-questions mailing list