Delay in program start w/HASHED_DICTIONARY usage

Jeremy @ Cowgar jeremy at cowgar.com
Fri Jul 31 13:00:42 UTC 2009


Hello Lisaac,

  With  a  simple  Hello  World program, running it is nearly instant.
  However,  if you add a HASHED_DICTIONARY to the bunch, you get a 1-2
  second delay when running a hello world program. Why is that?

  Here is code that exposes the delay:

Section Header
  + name := HELLO_WORLD;

Section Inherit
  - parent:OBJECT := OBJECT;

Section Public
  - main <-
  ( + d:HASHED_DICTIONARY(ABSTRACT_STRING, ABSTRACT_STRING);
    d := HASHED_DICTIONARY(ABSTRACT_STRING, ABSTRACT_STRING).create;

    "Hello, World!".println;
  );

-- 
Best regards,
 Jeremy                          mailto:jeremy at cowgar.com




More information about the Lisaac-devel mailing list