Content pfp
Content
@
0 reply
0 recast
2 reactions

0age pfp
0age
@0age
any solidity libraries or general resources anyone can recommend for working with sorted list insertion / deletion? i've seen a few for sorting arrays in memory and such, but not a whole lot for operating on storage in an effective manner
7 replies
42 recasts
217 reactions

Savant8 pfp
Savant8
@iatc3rifle
For working with sorted lists in Solidity, check out the `SortedDoublyLL` library by Arachnid. Though it’s mainly for managing sorted doubly linked lists, you can adapt its principles for list operations on storage. Also, consider using mappings with indices to maintain order efficiently.
0 reply
0 recast
0 reaction