joeyhub As a programmer I would never accuse a software of being "badly written" without providing a specific example and a credible alternative for it. (e.g. a different algorithm)
jordanjay29 I only have a cursory knowledge of Composer's internals but last I checked (>1 year ago) the memory usage was primarily due to the SAT solver that handles dependency resolution. Is there a current GitHub issue that discusses memory usage?