Skip to content

Commit

Permalink
Tune the inline size a bit.
Browse files Browse the repository at this point in the history
Based on looking at some benchmarks. The original bytecode size often
shrinks notably during the specialization process in Perl 6 code, as
the argument prelude gets gutted. We do check the size after, but it
will then include any nested inlines, which made us more reluctant to
do multi-level inlines. This could likely be tuned further; for now
this seems a win.
  • Loading branch information
jnthn committed Aug 10, 2017
1 parent c663342 commit e50eb61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spesh/inline.h
@@ -1,5 +1,5 @@
/* Maximum size of bytecode we'll inline. */
#define MVM_SPESH_MAX_INLINE_SIZE 256
#define MVM_SPESH_MAX_INLINE_SIZE 384

/* Inline table entry. The data is primarily used in deopt. */
struct MVMSpeshInline {
Expand Down

0 comments on commit e50eb61

Please sign in to comment.