From: matz@... (Yukihiro Matsumoto) Date: 2001-01-20T17:11:24+09:00 Subject: [ruby-talk:9590] Re: Fast, loose, and out of control Hi, In message "[ruby-talk:9572] Re: Fast, loose, and out of control" on 01/01/20, "Conrad Schneiker" writes: |What is the recommended Ruby way to determine whether you are (or a |particular thread is) running on a big-endian or little-endian CPU? Only way I can think of is [1].pack("I") == [1].pack("N") matz.