mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-04 21:54:27 +08:00
* Speed up CIPLabeler std::list is almost never the data structure that you want. vector uses fewer allocations, and the data has better locality. This speeds up the CIPLabeler on some protein examples by about 2x. * Greg's recommendation to use std::vector It's just as fast. For my example, this made queue sizes of like 1,186,390. Reserving ahead doesn't affect performance.
5.4 KiB
5.4 KiB