The Field API generates a table storing data for each field. The structure of each record in the table includes two 128 character indexed fields -- one for the entity and one for the bundle to which the field is attached.
In the instance of making a boolean field, 300 bytes of data (256 of which are indexed) are used to store each boolean field containing a single bit of information.
This overhead is duplicated in the revisions table for the field. This results in wasted space and extra computer processing to find or save all that indexed information.
This storage overhead makes it problematic to use the Field API in applications that will store and access large quantities of data.
A New Field API could be much more efficient by saving simple two-byte integers that map to entity type and bundle information and using a mapping function to convert entity and bundle names to their appropriate integers. The New Field API could coexist with the old-school Field API, but provide leaner performance for new development.
Additionally, the names of entities and bundles would no longer be limited to 128 characters. They could be of arbitrary length.
Recent comments
Hi Kevin I am interested assisting you developing a theme by cloning feature from existing WordPress website. Please let me know your suitable time to discuss further...
Create a theme from existing website
I've updated the Zulip link in both places I found it. No need to post again, unless you have something new to say. We'll pull together feedback from all the sources.
Backdrop CMS Core Priorities
Should we post here again, what we posted over there? Or would that unnecessarily duplicate things? The link to a Zulip thread in this initial post leads to an internal one, but there's...
Backdrop CMS Core Priorities