On 11/13/16 14:05, Dimitry Sibiryakov wrote: > 13.11.2016 11:50, Adriano dos Santos Fernandes wrote: >> Old API is a client of the new API > Yes, I know. I took part in it if you forget. > >> so you're totally wrong. > Feel free to provide a better answer if you can. Can you?.. > >
New API is really not intended to work with arrays. It has minimum support of arrays required to provide support for them in old one, based on it. This is very low level support - for example if you wish to use plain OO API to work with arrays you will have to write a piece of SDL (slice definition language, more or less similar to BLR byte flow) code. Why? Arrays support is a secondary superstructure over the blobs, interpreting SDL in order to extract a part of blob before sending it to client. May be sometimes before in epoch of low speed modems that could make sense. Today in most array uses it will be much more efficient to send whole blob to client and map it's memory there to required predefined data structure (it may be array or even something more interesting). If one really needs to extract a part of that data on server I suppose use of UDR will be much more efficient. ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
