note to use both flags

This commit is contained in:
purarue 2024-11-22 21:10:02 -08:00
parent 895d8c89bb
commit aaca4fdce3

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 --order-key will often be faster as it does not need to duplicate the iterator in memory, # using both --order-key and --order-value will often be faster as it does not need to
# or try to find the --order-value type on each object before sorting # duplicate the iterator in memory, or try to find the --order-value type on each object before sorting
res = select_range( res = select_range(
input_src, input_src,
order_key=order_key, order_key=order_key,