Branch: Tag:

2002-01-27

2002-01-27 18:25:43 by Martin Stjernholm <mast@lysator.liu.se>

Init the builtin_constants mapping once at startup instead of on demand.
This saves a couple of cycles, but more importantly it avoids the mapping
being created again after dmalloc-cleanup, which can happen e.g. when the
gc tries to get at the master object.

Rev: src/constants.c:1.35
Rev: src/constants.h:1.21
Rev: src/main.c:1.146

5:   \*/   /**/   #include "global.h" - RCSID("$Id: main.c,v 1.145 2002/01/16 02:54:14 nilsson Exp $"); + RCSID("$Id: main.c,v 1.146 2002/01/27 18:25:43 mast Exp $");   #include "fdlib.h"   #include "backend.h"   #include "module.h"
243: Inside #if defined(PIKE_NEW_MULTISETS)
  #ifdef PIKE_NEW_MULTISETS    init_multiset();   #endif +  init_builtin_constants();    }      #ifdef SHARED_NODES