Ticket #209 (new enhancement)

Opened 12 days ago

Optimize stack allocations in marshaler

Reported by: jasper Owned by: jasper
Priority: minor Milestone:
Component: COBIA Marshalling Version:
Keywords: Cc:

Description

Marshaled input arguments of variable are currently allocated of the heap.

For input arguments (that will not change), this can be optimized by using constant wrappers around the data, and allocate the actual data on the stack memory (extern the StackAllocate? block to fit the input data).

For output argument, the marshaler could use some form of buffering of COBIA data implementations (e.g. a pool of CapeArrayRealImpl? objects).

Note: See TracTickets for help on using tickets.