Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Efficient binary functions Re:

From: joel:neely:fedex at: 10-Oct-2000 22:15

Hi, Phil... I'm quite embarrased to say that the best I've come up with is
>> v1: #{01}
== #{01}
>> v2: #{03}
== #{03}
>> v3: #{44}
== #{44}
>> v0: #{} foreach v reduce [v1 v2 v3] [append v0 v] v0
== #{010344} (Obviously this could be wrapped in a nicely-named function...) All of the obvious things I've tried fall prey to the old "binary values converted to strings in a surprising and mostly useless way" landmine discussed on this list a few days back! -jn-