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

[REBOL] Re: Fun with literal blocks!

From: joel:neely:fedex at: 27-Oct-2000 10:21

Hi, Ladislav, I think we'll just have to agree to disagree then (which is perfectly OK). [rebol-bounce--rebol--com] wrote:
> Memoizing *can* help to improve the performance, but that the usage of > literal blocks and creating non-WYSIWYG code *cannot*! >
Apples and oranges! I see it thus: The "interesting" behavior of literal series values and SMC are simply language features of REBOL (which one may choose to use -- or not). Memoizing is a design technique for improving the speed of some functions. When I said, speaking of literal-block tricks, "This can be a handy tool ..." --- to achieve a performance improvement, I simply meant that it was one of several possible ways of achieving that goal, not that it was the only way. -jn- -- ; Joel Neely [joel--neely--fedex--com] 901-263-4460 38017/HKA/9677 REBOL [] do [ do func [s] [ foreach [a b] s [prin b] ] sort/skip do function [s] [t] [ t: "" foreach [a b] s [repend t [b a]] t ] { | e s m!zauafBpcvekexEohthjJakwLrngohOqrlryRnsctdtiub} 2 ]