deephaven.lang.vectorize_simple¶
Utilities for vectorization.
The contents of this module are intended only for internal Deephaven use and may change at any time.
-
arguments_for
(name, type)¶ Returns vectorized arguments for a column name and type. :param name: column name :param type: column type :return: argument types, arguments, and unpacks
-
compile_function
(src, cols=None, globs=None, loc=None)¶ Compiles a function.
-
export_locals
(glob, loc)¶ Combines two dictionaries. :return: combined dictionary.
-
new_vec_function
(src, cols=None, refs=None)¶ Creates a new vectorized function. :return: new function
-
vectorized_arguments
(used_cols)¶ Returns vectorized arguments for used columns. :param used_cols: used columns :return: argument types, arguments, and unpacks