diff options
author | Koichi Sasada <ko1@atdot.net> | 2020-04-10 11:20:35 +0900 |
---|---|---|
committer | Koichi Sasada <ko1@atdot.net> | 2020-04-10 14:53:25 +0900 |
commit | 443389effc37308ce1a3c3a840082a344fc6af56 (patch) | |
tree | db47722822c73d30be82410b880fda0fcb14a199 /include/ruby/3/attr/error.h | |
parent | 63a5412db7138297a2e7513067ef80dad7a3b4b4 (diff) | |
download | ruby-443389effc37308ce1a3c3a840082a344fc6af56.tar.gz |
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]
Diffstat (limited to 'include/ruby/3/attr/error.h')
-rw-r--r-- | include/ruby/3/attr/error.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/ruby/3/attr/error.h b/include/ruby/3/attr/error.h index 15d9181fe2..ec9383aace 100644 --- a/include/ruby/3/attr/error.h +++ b/include/ruby/3/attr/error.h @@ -18,7 +18,6 @@ * extension libraries. They could be written in C++98. * @brief Defines #RUBY3_ATTR_ERROR. */ -#include "ruby/3/has/attribute.h" /** Wraps (or simulates) `__attribute__((error))` */ #if defined(RUBY3_ATTR_ERROR) |