Branch: Tag:

2014-10-02

2014-10-02 17:57:02 by Per Hedbor <ph@opera.com>

Added a simple append_mapping instruction.

Much like append_array, but for mappings. This speeds up the append
mapping benchmark by about (currently) 1000x.

However, that is somewhat misleading since the refs optimization is
not done currently since the wrong assignment operator ends up being
used.

Even when that is fixed the speedup should is still more than 2x,
however.

390:    struct processing *p);   void free_all_mapping_blocks(void);    + void o_append_mapping( INT32 args );   /* Prototypes end here */      #define allocate_mapping(X) dmalloc_touch(struct mapping *,debug_allocate_mapping(X))