[ruby-core:85452] Re: [Ruby trunk Bug#14445] MJIT: Determine path of mjit header and libruby at runtime

From: Vladimir Makarov <vmakarov@...>
Date: 2018-02-06 15:03:08 UTC
List: ruby-core #85452
On 02/05/2018 07:25 PM, [email protected] wrote:
> Issue #14445 has been updated by k0kubun (Takashi Kokubun).
>
>
> I agree above batching ideas are worth trying, but I understand current bottleneck of compilation time on MinGW comes from the fact that we give up transforming header for Windows.
The header should contain only static functions.  In this case unused 
functions are never optimized and not processed for code generation.  N 
non-static functions would slowdown compilation in about N times.  As 
there are many functions in the header, it is definitely a bottleneck.
> I guess adding static to non-static functions would make compilation fast, and we should solve it first.
>


Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next