-
Notifications
You must be signed in to change notification settings - Fork 4
Representation tweak? #35
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestperformancequestionFurther information is requestedFurther information is requested
Description
Activity
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestperformancequestionFurther information is requestedFurther information is requested
We don't actually need a lazy spine. An alternative representation for a queue, for example:
This has a little more indirection and space overhead, so presumably the fundamental operations will be slower. But it also has some benefits:
lengthbecomes logarithmic time.