I ran in to some composer problems and because of which, I removed composer cache.
Right after removing cache the composer install took long time and while searching on internet for a solution came across this package
composer parallel install plugin. Contribute to hirak/prestissimo development by creating an account on GitHub.
right after installing this I could see installations were extremely fast.
thanks to the package creater.