sammarks / ablecore

A library for Drupal developers.
MIT License
5 stars 4 forks source link

Fix performance in FieldValueRegistry::prepareConfiguration() #33

Open sammarks opened 9 years ago

sammarks commented 9 years ago

We need to implement a different design pattern for this section of Able Core. It ends up making 300,000 calls to is_subclass_of, which is of course not performant. Those 300,000 calls end up taking about half a second of execution time.