Update the entire program to use QVector. This should make the performance better. Still trying to preallocate enough space for 10,000,000 frames which should be more than plenty.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#include "ui_framesenderwindow.h"
|
||||
#include "utility.h"
|
||||
|
||||
FrameSenderWindow::FrameSenderWindow(QList<CANFrame> *frames, QWidget *parent) :
|
||||
FrameSenderWindow::FrameSenderWindow(QVector<CANFrame> *frames, QWidget *parent) :
|
||||
QDialog(parent),
|
||||
ui(new Ui::FrameSenderWindow)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user