Blender Git Loki

Git Commits -> Revision 8180d47

Revision 8180d47 by Erik Abrahamsson (master)
May 31, 2021, 21:03 (GMT)
Speedup exact boolean by avoiding some mallocs and frees.

This is from patch D11432 from Erik Abrahamsson. He found that
in some mpq3 functions called frequently from loops, passing in
buffers for termporary mpq3 values can save substantial time.
On my machine, his example in that patch went from 9.48s to 7.50s
for the boolean part of the calculation. On his machine, a running
time went from 17s to 10.3s.

Commit Details:

Full Hash: 8180d478e1aefbbe538bd54b42dda388b482abf5
Parent Commit: 73967e2
Committed By: Howard Trickey
Lines Changed: +146, -55

3 Modified Paths:

/source/blender/blenlib/BLI_mpq3.hh (+16, -0) (Diff)
/source/blender/blenlib/intern/mesh_boolean.cc (+66, -28) (Diff)
/source/blender/blenlib/intern/mesh_intersect.cc (+64, -27) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021