.dxf export to smaller file size_Where is superCAD?

Hi everyone.

I am extremely novice in coding but mange my way somehow.
I am trying to reduce the file size of my dxf since files are too large to open in the CAD software I am using. I managed to open files in Freecad, reduce node counts and then export again to dxf. This file I can then open in my CAD program, but also after a very ling time.

I have read about superCAD and some features that allow smaller dxf outputs but I cannot locate this library?

Anyone solved this issue whether with superCAD or other means?

import processing.dxf.*;
//import superCAD.*;

  if (ctl_dxf.update()){
  
    String dxffile="3D_"+Integer.toString(year())+"_"+Integer.toString(day())+"_"+Integer.toString(hour())+"_"+Integer.toString(minute())+"_"+Integer.toString(second())+".dxf";
    beginRaw(DXF, dxffile); 
    background(255);
 //   for(int i = 0; i<numberOfFrames;i++){
   // line(random(width),random(height),random(width),random(height));
  }
  
  if (ctl_dxf.update()){
    endRaw();
//    cad = false;
  }