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

[REBOL] Re: percent! - new datatype request

From: joel:neely:fedex at: 14-Jun-2002 7:06

Hi, Romano, Romano Paolo Tenca wrote:
> Tally should be an hash! to gain speed. > > tally: make hash! 10000 >
You're right, of course! Thanks! Most of the time I'm working with small enough data structures that the penalty isn't too severe, but that's no excuse for not remembering this. See my note to Gregg for results. -jn- -- ; Joel Neely joeldotneelyatfedexdotcom 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 ]