On 5/18/12 10:17 AM, Paul McNett wrote:
> In fact, all data type conversions IMO should happen in
> cur.get|setFieldVal() for that (performance) reason.

I just thought more about the performance aspect. Conversion to the 
DataStructure for 
a given field should happen in getFieldVal(). Conversion from the DataStructure 
should happen not in setFieldVal() but in save(). No need to convert if the 
user 
subsequently cancels.

The conversion in getFieldVal() would need to set a timestamp flag in the 
field. 
Every getFieldVal() would need to compare that field's timestamp with that of 
the 
cursor's last requery time, to determine if the field needs conversion before 
sending 
the value to the caller.

We've kind of been moving in this direction with my recent performance 
improvements, 
but honestly I think it's possible we've short-circuited it back to the 
original 
implementation with other more recent "fixes", such as yours this morning, John.

I haven't had nearly enough time to keep my eye on the ball and then we open up 
cans 
of worms like this, sheesh!

Paul

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to