unibas-gravis / scalismo-faces

Scalable Image Analysis and Shape Modelling: Module to work with 2d images, with a focus on face images
Apache License 2.0
118 stars 27 forks source link

Improve speed of PlyMeshReader.scala #139

Closed Andreas-Forster closed 1 year ago

Andreas-Forster commented 1 year ago

The ply-reader is very slow when reading large meshes. This PR fixes it by not creating useless sequences that are not used anyway.

Some quick tests showed for very large meshes a potential speed up of a factor 100.