ref: 13bdacda5e07bb8a8be83616dbce9f179dccaddb
parent: df26766fcc3c3c3cab64756b6b77dd995cb98c63
author: rodri <rgl@antares-labs.eu>
date: Mon Mar 3 10:36:37 EST 2025
marshal: do not deduplicate primitives.
--- a/marshal.c
+++ b/marshal.c
@@ -96,7 +96,6 @@
return a;
}
-/* TODO: implement binary insertion and search */
static usize
itemarrayadd(IArray *a, void *i, int dedup)
{
@@ -889,7 +888,7 @@
NaI: itemarrayadd(Ta, &p->tangent, dedup);
P.mtlname = p->mtl != nil? p->mtl->name: nil;
- itemarrayadd(Pa, &P, dedup);
+ itemarrayadd(Pa, &P, 0);
p++;
}