mirror of https://github.com/hwchase17/langchain
Replace loop appends with list comprehension. (#5528)
# Replace loop appends with list comprehension. It's significantly faster because it avoids repeated method lookup. It's also more idiomatic and readable.pull/4521/head
parent
bd9e0f3934
commit
0ad76c3380
Loading…
Reference in New Issue