© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Maintaining Sorted Elements in a Data Structure - Effect Community
EC
Effect Community
•
3y ago
•
96 replies
addamsson
Maintaining Sorted Elements in a Data Structure
Is there a data structure
(or a way to configure one
) that keeps its elements sorted
? I
'm talking about something like
SortedSet
in Java
. Eg
:
Chunk.empty<T>(comparator)
Chunk.empty<T>(comparator)
and then whenever I add an element to this
Chunk
Chunk
it will be inserted into a position according to the ordering
.
Effect Community
Join
Production-grade applications in TypeScript.
6,221
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Creating Metadata for a Simplified Data Structure
EC
Effect Community / data
3y ago
Persistent data structures in Effect
EC
Effect Community / data
2y ago
Maintaining Case Arrays in `ReadonlyArray` Operators
EC
Effect Community / data
3y ago
Choosing the Right Data Structure for Numeric Keys in JavaScript
EC
Effect Community / data
2y ago
Next page