It's not complex; just arrays of fixed-length records.
Indexes need to be built and maintained, and can get snarled. We do brute-force linear searches. CPUs ar so fast these days, it's essentially instantaneous.
Again, CPUs are so fast, and gigabytes of RAM so cheap, that brute force is perfectly viable. 10,000 part records, at 640 bytes each, fits not only in ram, it fits in cache!
John