]> git.tdb.fi Git - libs/gl.git/commitdiff
Use a sorted vector in place of set for small data
authorMikko Rasa <tdb@tdb.fi>
Sat, 30 Oct 2021 19:07:48 +0000 (22:07 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 30 Oct 2021 22:28:12 +0000 (01:28 +0300)
Despite having worse algorithmic performance, cache effects make the
vector faster for total data size of up to about 8 kB (YMMV).

The GLSL compiler can keep its sets for now, I'll create a proper class
for this at some point.


No differences found