sbt / sbt-osgi

sbt plugin for creating OSGi bundles
Apache License 2.0
47 stars 43 forks source link

Reduce pressure on GC by using a Traversable instead of a Seq #96

Closed romainreuillon closed 1 year ago

romainreuillon commented 1 year ago

Listing file using contentOf primitive return a Sequence. In large projects building many concurrent bundles in parallels this put a lot of pressure on the GC. This patch uses a Traversable instead of a Seq to reduce this pressure.

romainreuillon commented 1 year ago

@mdedetrich I just changed * for _ in the import statements

mdedetrich commented 1 year ago

@romainreuillon I just released sbt-osgi 0.9.9 which has this improvement. Should be available in maven in an hour.

romainreuillon commented 1 year ago

:+1: