Project

General

Profile

Bug #6577

move RecordBuffer.ooFields at the DMO meta

Added by Constantin Asofiei almost 2 years ago. Updated almost 2 years ago.

Status:
Review
Priority:
Normal
Target version:
-
Start date:
Due date:
% Done:

100%

billable:
No
vendor_id:
GCD
case_num:

History

#4 Updated by Constantin Asofiei almost 2 years ago

The RecordBuffer.ooFields is resolved via getPojoGetterMap, which iterates all getters - there can be DMOs with 100s of fields, and we iterate through them all, for each created buffer, and this can be in the 100k range in a scenario.

Ovidiu: please move this set at the DMO meta or somewhere else where it can be resolved only once, and not at each buffer instance.

#5 Updated by Ovidiu Maxiniuc almost 2 years ago

Where should the changes go to?

#6 Updated by Constantin Asofiei almost 2 years ago

Ovidiu Maxiniuc wrote:

Where should the changes go to?

3821c

#7 Updated by Ovidiu Maxiniuc almost 2 years ago

  • Status changed from New to WIP
  • % Done changed from 0 to 100

Multiple shared meta-knowledge about fields and properties of a record was collected in DmoMeta to avoid duplicating their collection and storage.

Committed revision 14046.

#8 Updated by Constantin Asofiei almost 2 years ago

  • Status changed from WIP to Review

3821c/14090 - RecordBuffer instance fields can not be accessed directly from static methods - their getter must be used, as the buffer instance may be bound. Fixed regressions in 3821c/14046.

Also available in: Atom PDF