This commit is contained in:
purarue 2024-11-22 21:11:16 -08:00
parent aaca4fdce3
commit ee586851b7

View file

@ -539,8 +539,8 @@ def query_hpi_functions(
input_src = chain(*(f() for f in _locate_functions_or_prompt(qualified_names))) input_src = chain(*(f() for f in _locate_functions_or_prompt(qualified_names)))
# NOTE: if passing just one function to this which returns a single namedtuple/dataclass, # NOTE: if passing just one function to this which returns a single namedtuple/dataclass,
# using both --order-key and --order-value will often be faster as it does not need to # using both --order-key and --order-type will often be faster as it does not need to
# duplicate the iterator in memory, or try to find the --order-value type on each object before sorting # duplicate the iterator in memory, or try to find the --order-type type on each object before sorting
res = select_range( res = select_range(
input_src, input_src,
order_key=order_key, order_key=order_key,