onflow / cadence-libraries

Libraries for common programming utilities in the Cadence smart contract programming language
The Unlicense
9 stars 5 forks source link

Create a contract defining common data structures #5

Open sisyphusSmiling opened 1 year ago

sisyphusSmiling commented 1 year ago

Issue To Be Solved

It would be helpful to have common data structure implementations in Cadence (stack, queue, linked list, binary trees, heaps, etc.)

Suggest A Solution

Contract that defines common data structures in their Cadence implementations. Even better if we can include benchmarks for use at scale so builders have reasonable expectation of their performance.

bluesign commented 1 year ago

this 100%, actually we can have libraries; and some of them depending on usage, can graduate to stdlib.