mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
reduce duplicate include.
Without this patch, 20k files are opened (openat syscall) because of duplicate includes. This patch reduced it to 3k and build time was reduced compile time of range.o from 15sec -> 3sec on my machine. [Bug #16772]
This commit is contained in:
parent
63a5412db7
commit
443389effc
Notes:
git
2020-04-10 14:53:50 +09:00
40 changed files with 9 additions and 56 deletions
|
|
@ -27,7 +27,6 @@
|
|||
#define RUBY3_ASSUME_H
|
||||
#include "ruby/3/config.h"
|
||||
#include "ruby/3/cast.h"
|
||||
#include "ruby/3/compiler_since.h"
|
||||
#include "ruby/3/has/builtin.h"
|
||||
|
||||
/** @cond INTERNAL_MACRO */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue