Просмотр исходного кода

* build/generators.jam: (select-alternative): Use string comparison
of virtual targets, not the deep one with the 'str' method. The latter is
very slow
* tools/gcc.jam: Don't declare gcc.link and gcc.link.dll generators, as
they are already inherited from unix.jam. If we declare them, then for
each targets, the whole generation process is run twice. As result,
select-alternative is called for each target, and due to sloweness of
'str' the performance is horrible.

The net result is that running time on one testcase is down from 1580 secs
to less than 10.


[SVN r25512]

Vladimir Prus 21 лет назад
Родитель
Сommit
12dec8725c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      tools/build

+ 1 - 1
tools/build

@@ -1 +1 @@
-Subproject commit ff9203f7f6ed0ec521b21ed57cba626d2d52562d
+Subproject commit 695e1c4691e3965a2a7150c254152d4773e79f1b

粤ICP备19079148号