src/main/java/org/apache/datasketches/characterization/theta/ThetaUpdateSpeedProfile.java [56:75]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      handle = WritableMemory.allocateDirect(bytes);
      wmem = handle.getWritable();
      sketch = udBldr.build(wmem);
    } else {
      sketch = udBldr.build();
    }
  }

  @Override
  public void cleanup() {
    try {
      if (handle != null) { handle.close(); }
    } catch (final Exception e) {
      // do nothing
    }
  }

  @Override
  public double doTrial(final int uPerTrial) {
    sketch.reset(); // reuse the same sketch
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/main/java/org/apache/datasketches/characterization/tuple/AodSketchUpdateSpeedProfile.java [49:68]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      handle = WritableMemory.allocateDirect(bytes);
      wmem = handle.getWritable();
      sketch = udBldr.build(wmem);
    } else {
      sketch = udBldr.build();
    }
  }

  @Override
  public void cleanup() {
    try {
      if (handle != null) { handle.close(); }
    } catch (final Exception e) {
      // do nothing
    }
  }

  @Override
  public double doTrial(final int uPerTrial) {
    sketch.reset(); // reuse the same sketch
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



