[
https://issues.apache.org/jira/browse/ARROW-13185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kouhei Sutou resolved ARROW-13185.
----------------------------------
Fix Version/s: 8.0.0
Resolution: Fixed
Issue resolved by pull request 12004
[https://github.com/apache/arrow/pull/12004]
> [MATLAB] Create a single MEX gateway function which delegates to specific C++
> functions
> ---------------------------------------------------------------------------------------
>
> Key: ARROW-13185
> URL: https://issues.apache.org/jira/browse/ARROW-13185
> Project: Apache Arrow
> Issue Type: Task
> Components: MATLAB
> Reporter: Sarah Gilmore
> Assignee: Fiona La
> Priority: Minor
> Labels: pull-request-available
> Fix For: 8.0.0
>
> Time Spent: 2h 50m
> Remaining Estimate: 0h
>
> Since modifying the source directory via the build process is generally
> considered non-optimal, we may want to explore alternative approaches. Our
> preferred approach is to create a single MEX gateway function which delegates
> to specific C++ functions. This singular MEX function will always be placed
> in the build tree and added to the MATLAB path.
> Advantages to this approach:
> * Better organization
> ** All MEX functions are registered in one location
> ** Reduce the complexity of managing and linking many MEX files and ensuring
> that they are added to the MATLAB path
> ** Reduce cognitive load for adding a new function
> * Avoid polluting the source tree with build artifacts
> * Reduce build times, building a single MEX function is faster than building
> potentially hundreds
> * Reduce binary bloat caused by creating a separate MEX file for every MEX
> function
> * Enable flexibility in terms of where C++ implementation files live
>
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)