Is there any reason all the axes arguments aren't taken by const& ref? #468
              
                Unanswered
              
          
                  
                    
                      Please-just-dont
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
The first example I looked at was:
And I noticed that the first argument is:
NotAxesHandle<T1> xWhich always makes a copy of the vector. Is this necessary? It seems this happens all the way throughout the code, so for example graph_1.cpp looks like:
Is this necessary? My application will be performance-sensitive, and I'm just wondering from the library's usability point of view is there any reason the first arguments, whatever this NotAxesHandle is, couldn't be taken by const reference?
Beta Was this translation helpful? Give feedback.
All reactions