]> OCCT Git - occt-copy.git/commit
0031490: Foundation Classes, Poly_Connect - speed up temporary allocations
authorkgv <kgv@opencascade.com>
Wed, 8 Apr 2020 07:22:26 +0000 (10:22 +0300)
committernds <nds@opencascade.com>
Thu, 19 Nov 2020 08:50:07 +0000 (11:50 +0300)
commit273202ae68fe3e5623047ee11e351ac18cef0993
treeff0ca2e2875f44ee7f52d50e24eb1cb7fa77238a
parentb0e70a7d4b2ac4e07fb249f4e98b17c3e845a93b
0031490: Foundation Classes, Poly_Connect - speed up temporary allocations

Poly_Connect::Load() now uses NCollection_IncAllocator instead of new/delete
for allocation temporary sequence elements.

StdPrs_ShadedShape, fillFaceBoundaries() now uses NCollection_IncAllocator for temporary points.

(cherry picked from commit 26a8852696a6311eb9f8d19d556aa40e506750ab)
(cherry picked from commit 841b43a3785687b6496f76d8e03a7fb2a3b61e78)
src/Poly/Poly_Connect.cxx
src/StdPrs/StdPrs_ShadedShape.cxx