Yes, running a `cython -a` on `core_types` and identify slow parts is certainly a good idea (for a later pull request).