1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-13 02:04:16 +02:00
This commit is contained in:
Justin Lin
2021-03-04 17:17:42 +08:00
parent dba17df155
commit e965289949

View File

@@ -59,12 +59,10 @@ function hashset_del(set, elem, hash = df_hash, eq = df_eq) =
slice(set, bidx + 1)
);
function _find(lt, elem, eq, leng, i = 0) =
i == leng ? -1 :
eq(lt[i], elem) ? i : _find(lt, elem, eq, leng, i + 1);
function hashset_list(set) = [
for(bucket = set)
for(elem = bucket)