> BTW, I mimicked the OT GetArrayLong/Text/Date* commands and the Find in
> array command from Object Tools in my copy of OBJ_Module. The approach that
> I took was to extract the array from the object and do a find in array and
> I was thinking that, perhaps, that would incur a penalty. I don't have the
> metrics handy but, until it got into the thousands of hits, the operation
> was essentially instantaneous. And the reason, as 4D has pointed out over
> the years, is that we're dealing with references to data not the actual
> data itself so it's not a question of moving data in memory.

You *are* moving memory if you extract the array from an object. Not a huge 
amount, but not nothing. I’m not sure what the motivation was for implementing 
those commands yourself, but whatever.

- Aparajita
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to