stellarium:fasterOBJimport

Last commit made on 2024-03-03
Get this branch:
git clone -b fasterOBJimport https://git.launchpad.net/stellarium

Branch merges

Branch information

Name:
fasterOBJimport
Repository:
lp:stellarium

Recent commits

9582a50... by gzotti

Revert using std::from_chars()
- also remove useless toVector() null-conversions.

d5fcfc4... by Ruslan

Use QStringView instead of QStringRef

465b8e4... by Ruslan

Handle all vert/tex/normal cases in OBJ files without allocation

This commit is to be merged with the previous one.

3fb7265... by Ruslan

Handle OBJ face lines without slashes separately

This avoids allocation inside QStringRef::split, which improves loading
time of Callanish3D OBJ file from 16 s to about 14 s on my i5-8265U CPU.

Ideally, all the cases like v, v/t, v//n, v/t/n should be handled
without allocation, but this commit only addresses the simplest one.

5c48187... by Ruslan

Use a simpler separator for OBJ format lines

Using a regexp for each line in a multimillion-line file leads to a
serious slowdown. And the '\s' regexp is an overkill anyway.

c0d2f01... by gzotti

Attempt to just parse from the string parts.

Does not help. We need to change the entire file parsing
and avoid all QString-based type conversions.

f0d93fa... by "transifex-integration[bot]" <43880903+transifex-integration[bot]@users.noreply.github.com>

Translate stellarium-remotecontrol.pot in ca

100% translated source file: 'stellarium-remotecontrol.pot'
on 'ca'.

9b4335d... by "transifex-integration[bot]" <43880903+transifex-integration[bot]@users.noreply.github.com>

Translate stellarium-landscapes-descriptions.pot in ca

100% translated source file: 'stellarium-landscapes-descriptions.pot'
on 'ca'.

66b397e... by "transifex-integration[bot]" <43880903+transifex-integration[bot]@users.noreply.github.com>

Translate po/stellarium/stellarium.pot in ca

100% translated source file: 'po/stellarium/stellarium.pot'
on 'ca'.

3c1484f... by "transifex-integration[bot]" <43880903+transifex-integration[bot]@users.noreply.github.com>

Translate po/stellarium/stellarium.pot in gl

100% translated source file: 'po/stellarium/stellarium.pot'
on 'gl'.