From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.236.41.43 with SMTP id g31mr1868634yhb.55.1413480350561; Thu, 16 Oct 2014 10:25:50 -0700 (PDT) X-Received: by 10.182.27.10 with SMTP id p10mr11320obg.39.1413480350367; Thu, 16 Oct 2014 10:25:50 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!dc16no3314234qab.1!news-out.google.com!rp1ni31966igb.0!nntp.google.com!uq10no11960450igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 16 Oct 2014 10:25:50 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=130.113.46.8; posting-account=Lb5doAoAAAAWHET3z2_nBVbFSXaZQG1V NNTP-Posting-Host: 130.113.46.8 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: dynamic vs static tasks allocation From: Stribor40 Injection-Date: Thu, 16 Oct 2014 17:25:50 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:22531 Date: 2014-10-16T10:25:50-07:00 List-Id: If you know ahead of time how many tasks will be needed is it better to create tasks dynamically with new operator or just statically? Which is way is recommended and why even bother allocating dynamically?