Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #15458, comment 16


Ignore:
Timestamp:
08/01/2011 04:08:29 PM (14 years ago)
Author:
scribu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15458, comment 16

    initial v1  
    11I'm not sure about the best way of handling large custom fields, but I do know that we can reduce the memory footprint in half:
    22
    3 Currently, each field is stored twice: once in WP_User->data and once on the object directly. We can avoid this by using magic methods. So that's what [attachment:15458.diff] does.
     3Currently, each field is stored twice: once in WP_User->data and once on the WP_User object directly. We can avoid this by using magic methods. So that's what [attachment:15458.diff] does.