onyxblade

Results 15 comments of onyxblade

Caused by https://github.com/rails/sprockets-rails/blob/master/lib/sprockets/railtie.rb#L34-L52. The `asset_precompiled?` is called under development environment and the `precompiled_assets` is the time consuming one. Since sprockets v3, there is a `raise_unless_precompiled_asset` call for each `asset_path` call...

![image](https://user-images.githubusercontent.com/6355587/137141130-b504d5b9-0216-4003-8aa2-2e53949ed90c.png) 这个问题本来在mac上就不存在啊,为什么一定要对齐呢?

Hi @ForeverZer0, Thanks for commenting, and sorry for the late reply. I think the `rb_thread_call_without_gvl` is used within a ruby thread to run non-blocking C functions, but it cannot help...

Hi @KoBeWi, Sorry for the late reply. I can only try to explain the problem since I haven't been working on the plugin for so long. What you said is...

You are right. It is possible to cache the method table and reflect only when `method_missing`, and it should be sufficient for most cases.