Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Origen 编译器默认为在内联模式下运行时重新加载目标。这会降低编译器的性能,可以禁用吗?
内联编译器调用可以传递 'preserve_target' 选项以避免重新加载目标。
Origen.compile("#{Origen.root}/templates/my_template.txt.erb", preserve_target: true)