Row accessors using the index field in API 1.2 ?

1517
2
03-08-2012 12:09 PM
ahuarte
New Contributor III
Hello, I have dowloaded the V1.2 FileGDB API.

I was expecting this version to access the values �??�??in a row for field index as well as by name.
It is contemplated for the next versions?


In a previous thread it was commented...

...
In conclusion, it appears that the getter calls on attributes with the
FILEGDB API do have a significant performance cost (this is especially
true when there are a large number of attributes in the table). Fortunately
for your case, you have the option of recoding to delay the use of 'Get'
attribute accessors until they are actually necessary.

I've recommended that a circular search algorithm be used in the getter
and setter functions, and that consideration be given to overloading the
Row accessors using an integer radix (vice name) which should give uniform
access cost without regard to the attribute retrieval order.


http://forums.arcgis.com/threads/33528-Slow-performance-reading-FGDB


thank you very much
0 Kudos
2 Replies
DavidSousa
New Contributor III
We are aware of this discussion, but we have not committed to an investigation as to whether there is in fact a problem and that the proposed change would improve performance.  It is on a list of things we may look into eventually.
0 Kudos
ahuarte
New Contributor III
ok, thank you very much. Expectant hope 😄

I tried to read a FGDB with the new version and the time is the same as the previous one.

I know that is not a usual case, but the implementation for read values by index field I think it would be easy especially when the row class has members with that information.

Thank you very much for the answer.
0 Kudos