Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better mat fromlist #137

Closed
wants to merge 110 commits into from
Closed

Better mat fromlist #137

wants to merge 110 commits into from

Conversation

rainyl
Copy link
Owner

@rainyl rainyl commented Jul 1, 2024

Make Mat.fromList copy data internally to avoid extra data management, now it will copy the input data 2 times,

  1. copy it from dart List to native array (native pointer)
  2. copy native pointer at c++ side to construct Mat.

@rainyl rainyl closed this Jul 1, 2024
@rainyl rainyl deleted the better-mat-fromlist branch July 3, 2024 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants