• Eugene Kosov's avatar
    MDEV-20297 Support C++11 range-based for loop for List<T> · e5f99a0c
    Eugene Kosov authored
    New iterator has the fastest possible implementation: just moves one pointer.
    It's faster that List_iterator and List_iterator_fast: both do more on increment.
    
    Overall patch brings:
    1) work compile times
    2) possibly(!) worse debug build performance
    3) definitely better optimized build performance
    4) ability to write less code
    5) ability to write less bug-prone code
    e5f99a0c
sql_table.cc 374 KB