mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-08 08:23:34 -05:00
RandomX JIT refactoring
- Smaller memory footprint - A bit faster overall
This commit is contained in:
@@ -34,6 +34,11 @@
|
||||
#include "net/JobResult.h"
|
||||
|
||||
|
||||
#ifdef XMRIG_ALGO_RANDOMX
|
||||
class randomx_vm;
|
||||
#endif
|
||||
|
||||
|
||||
namespace xmrig {
|
||||
|
||||
|
||||
@@ -82,7 +87,7 @@ private:
|
||||
WorkerJob<N> m_job;
|
||||
|
||||
# ifdef XMRIG_ALGO_RANDOMX
|
||||
RxVm *m_vm = nullptr;
|
||||
randomx_vm *m_vm = nullptr;
|
||||
# endif
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user