diff options
author | Nicolás Bértolo <nicolasbertolo@gmail.com> | 2020-05-20 00:34:32 -0300 |
---|---|---|
committer | Andrea Corallo <akrl@sdf.org> | 2020-05-31 17:50:07 +0100 |
commit | 3efb2808d415f723ade4a0f9f61738e1a707156c (patch) | |
tree | 0aacaaa573dea99aee35508721ef625bba1d695c /lisp/emacs-lisp | |
parent | 5cf148cfef23b827629950048dab678f3b9af2d3 (diff) | |
download | emacs-3efb2808d415f723ade4a0f9f61738e1a707156c.tar.gz emacs-3efb2808d415f723ade4a0f9f61738e1a707156c.tar.bz2 emacs-3efb2808d415f723ade4a0f9f61738e1a707156c.zip |
* Cut down compile-time emitting static data as string literals
This change drastically reduce compile time. Apparently GCC optimizer
does not scale up well at all for long sequences of assignments into a
single array.
Nicolás Bértolo <nicolasbertolo@gmail.com>
Andrea Corallo <akrl@sdf.org>
* src/comp.c (gcc_jit_context_new_string_literal)
(gcc_jit_block_add_assignment_op): New imports.
(comp_t): New 'size_t_type' 'memcpy' fields.
(emit_static_object): Define static objects using string literals
and memcpy.
(define_memcpy): New function.
(Fcomp__init_ctxt): Define 'size_t_type' and 'memcpy'.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions