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:   \*/      /* -  * $Id: constants.h,v 1.20 2002/01/16 02:54:09 nilsson Exp $ +  * $Id: constants.h,v 1.21 2002/01/27 18:25:43 mast Exp $    */   #ifndef ADD_EFUN_H   #define ADD_EFUN_H
69:    INT16 flags,    optimize_fun optimize,    docode_fun docode); + void init_builtin_constants(void);   void cleanup_added_efuns(void);   /* Prototypes end here */