Notes about what needs to be done, fixed CRTD import, preallocate more memory upon startup.

This commit is contained in:
Collin Kidder
2015-05-22 23:06:26 -04:00
parent 39da1be089
commit 799d4ca617
2 changed files with 12 additions and 2 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ int CANFrameModel::columnCount(const QModelIndex &index) const
CANFrameModel::CANFrameModel(QObject *parent)
: QAbstractTableModel(parent)
{
frames.reserve(100000); //ask for at least 100,000 entries. This gives good performance up to this limit
frames.reserve(10000000); //yes, I'm preallocating 10 million entries in this list. I don't think anyone will exceed this.
dbcHandler = NULL;
interpretFrames = false;
overwriteDups = false;