summaryrefslogtreecommitdiff
path: root/drivers/ddr/altera
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2024-10-19 09:21:47 -0600
committerSimon Glass <sjg@chromium.org>2024-11-02 11:13:59 -0600
commitd01c58acb71874721c05684472412ce169bb7df8 (patch)
tree792545e85e3308e171ed70646e1d59a349e9e641 /drivers/ddr/altera
parent70f5f17415a257ce8d5f32df5b40194b89a27960 (diff)
alist: Add a way to efficiently filter an alist
Unlike linked lists, it is inefficient to remove items from an alist, particularly if it is large. If most items need to be removed, then the time-complexity approaches O(n2). Provide a way to do this efficiently, by working through the alist once and copying elements down. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/ddr/altera')
0 files changed, 0 insertions, 0 deletions