@eagleoutice/flowr
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
11 lines (10 loc) • 430 B
TypeScript
import type { DataflowGraph } from '../../dataflow/graph/graph';
/** Returns the size of the given df graph in bytes (without sharing in-memory) */
export declare function getSizeOfDfGraph(df: DataflowGraph): number;
/**
* Calculates the size of an array in bytes.
*
* @param array - The array to calculate the size of.
* @returns The size of the array in bytes.
*/
export declare function safeSizeOf<T>(array: T[]): number;