docs: public synchronized void insert(double value) {
          buffer[bufferCount] = value;
          bufferCount++;
  
          if (bufferCount == buffer.length) {
              insertBatch();
              compress();
          }
      }