#datastructure
An Algebraic Polynomial Evaluation Datastructure for Fields of Large Characteristic (Hiroki Okada, Rachel Player, Simon Pohmann) ia.cr/2026/2668
November 9, 2026 at 2:07 AM
libgraph 0.17.1 [updated]

A high-performance graph datastructure library for Elixir projects

Licenses: MIT
November 3, 2026 at 6:15 PM
libgraph 0.17.0 [updated]

A high-performance graph datastructure library for Elixir projects

Licenses: MIT
November 2, 2026 at 4:45 PM
There are design decisions in PHP which cut against performance.

For instance, the main datastructure is a sort of ordered map (something that takes up quite a bit of memory and is more complex than a simple list).

But implementing Unicode might be a bit slower on a specific task.
October 23, 2026 at 9:27 PM
I don't think there's anything else they could be given that this is C and not C++.

presumably try pushes a jmp_buf to a thread-local stack datastructure adds an if testing against longjmp's return value, catch desugars to else, and end_try pops the buf? Don't see what else it could be.
October 21, 2026 at 7:13 PM
Its a very common pitfall!
I dodged the issue by not using a grid at all :P

The grid pattern is just a projection and doesn't represent the actual datastructure. Instead, positions & game logic is done in 3D space, and links between buildings are in a tree like structure rather than a grid.
October 9, 2026 at 2:46 PM
October 6, 2026 at 9:20 AM
October 6, 2026 at 9:20 AM
Like, sure SomeClass::some_fucking_symbol is gonna be named by ai. But every single operation inside it, every single datastructure, every single thing worth giving a damn about, is gonna be identical
October 5, 2026 at 2:33 PM
VecDeque should expose head via head_index() (or similarly named)
toc: > I think the problem is that you want control/inspection into the internal workings of this datastructure. Access to head index alone isn't enough. There is no equivalent accessor for it. `deq.get(0)` is the same as `deq.front()`, and indexing works well enough from that. > > Essentially what you're requesting is for `VecDeque` to open up a very narrow part of what it guarantees to the outside world, via some API. I don't think I'm trying to peer into implementation details here. I explicitly _don't_ want to mess around with internals, in the sense that I want to avoid things like `unsafe` and `as_ranges`. The things that I want guaranteed are _already_ guaranteed: * `pop_front` increases `head_index` by one. (Guaranteed by `VecDeque` being a ring buffer. The existence of `as_ranges` forces this to be an increment, and not a decrement, since ranges have a direction built-in.) * `push_front` decreases `head_index` by one. * pushing doesn't reallocate if there is space. (I believe this is already guaranteed by `with_capacity`) * The items aren't moved, aside from methods that explicitly say they will. (Methods that talk about their running time are nonsensical without this.) * `get()` operates over the elements linearly, wrapping at the end of the buffer. (This is guaranteed by the requirements of `push` and `pop` - since they add items sequentially, it follows that `get(1)` must be next to `get(0)`, modulo capacity. This is also guaranteed by the existence of `as_ranges`.) Given those things, all that's needed is access to `head_index`. If there's a flaw in my reasoning, I'd like to know where. Edit: In the posts above, I have mentioned `physical_idx`, and perhaps that confused you? Although it's true that that is the location in the physical backing store, _I don't actually care about that fact_. All I care about is that it is a stable value that I can use to recover a logical index from, later. I believe the stability of it is already guaranteed by the points I outlined above.
internals.rust-lang.org
October 5, 2026 at 11:56 PM
VecDeque should expose head via head_index() (or similarly named)
d0sboots: > "An empty tail pointing to the front of the buffer is not guaranteed" is exactly the problem I have I think the problem is that you want control/inspection into the internal workings of this datastructure. Access to head index alone isn't enough. There is no equivalent accessor for it. `deq.get(0)` is the same as `deq.front()`, and indexing works well enough from that. Essentially what you're requesting is for `VecDeque` to open up a very narrow part of what it guarantees to the outside world, via some API. This can be reasonable! `Vec` is a very useful building block for other datastructures. But sometimes implementing a datastructure on top of another datastructure requires being able to dig into its implementation, and requires the building block datastructure to guarantee more about exactly how it works. For `Vec` this API looks like `RawVec`, but it also takes the form of `into_parts`/`from_parts`/`into_raw_parts`/`from_raw_parts`. * * * I don't think it would be unreasonable for `VecDeque` to guarantee its whole implementation and expose its internal bits so that it can be used as a better building block for more complicated datastructures. I also don't think that API would look like `pub fn head_index(&self) -> usize`.
internals.rust-lang.org
October 5, 2026 at 11:55 AM
VecDeque should expose head via head_index() (or similarly named)
d0sboots: > "An empty tail pointing to the front of the buffer is not guaranteed" is exactly the problem I have I think the problem is that you want control/inspection into the internal workings of this datastructure. Access to head index alone isn't enough. There is no equivalent accessor for it. `deq.get(0)` is the same as `deq.front()`, and indexing works well enough from that. Essentially what you're requesting is for `VecDeque` to open up a very narrow part of what it guarantees to the outside world, via some API. This can be reasonable! `Vec` is a very useful building block for other datastructures. But sometimes implementing a datastructure on top of another datastructure requires being able to dig into its implementation, and requires the building block datastructure to guarantee more about exactly how it works. For `Vec` this API looks like `RawVec`, but it also takes the form of `into_parts`/`from_parts`/`into_raw_parts`/`from_raw_parts`. * * * I don't think it would be unreasonable for `VecDeque` to guarantee its whole implementation and expose its internal bits so that it can be used as a better building block for more complicated datastructures. I also don't think that API would look like `pub fn head_index(&self) -> usize`.
internals.rust-lang.org
October 5, 2026 at 7:55 AM
the datastructure was already very good, but because I needed thread-safety and support for concurrent reads, decided to make it a new module instead and bring the idea to make the architecture more cache-friendly (flat+binary search vs. rbtree)
September 19, 2026 at 8:13 PM
fwiw the mlp option was suggested in a paper i loved written just before i joined nvidia; i coauthored a follow up - instant neural graphics primitives, remembered for its nerf impl (actually thats just appendix c) in which we proposed a hashgrid datastructure that lets you store arbitrary lightfiel
September 13, 2026 at 1:59 PM
hm. what would you want the API to look like? returning the "what comes next" part is a set of strings, but of course it's a regular language and therefore a possibly infinite set. and a good datastructure for that is ... a new DFA. but returning just the next characters might be more convenient
August 29, 2026 at 9:54 AM
"hello would you try the new datastructure i've invented? it's called a table and it's like an array and a hashmap but not good at either job"
August 18, 2026 at 6:11 AM
Prolly: Novel Data Structure — Boost key-value lookups with Prolly, a content-addressed map for efficient data retrieval

Read more →

#DataStructure #KeyValueLookup #Prolly
Prolly: Novel Data Structure
Boost key-value lookups with Prolly, a content-addressed map for efficient data retrieval
airanked.dev
August 17, 2026 at 8:00 AM
i see that now, i had seen this
https://github.com/ericvolp12/bsky-experiments#graph-builder-for-the-bsky-atlas
"The Graph is stored in a shared memory datastructure that's dumped to disk in a binary format every 30 seconds, overwriting its past checkpoint."
June 29, 2023 at 3:21 PM
Well, yeah? The point of windows and macos/is was to *not* interact with a text shell
No lowest common denom datastructure and ipc mechanism (or at least no obvious one like in *nix or e.g. genera) makes doing things programmatically non-obvious and unnecessary for regular used
Add normie focus...
April 27, 2026 at 1:03 AM
This opens up a world of questions. What to do with overlapping data? Is it redundant across sensors/accounts? What happens when a plane crosses from one sensor to another? Who owns which data?

I suspect this may relevant, but how to apply it to ATProto is another question:
arxiv.org/abs/1603.01446
Sheaves are the canonical datastructure for sensor integration
A sensor integration framework should be sufficiently general to accurately represent all information sources, and also be able to summarize information in a faithful way that emphasizes important, ac...
arxiv.org
August 7, 2026 at 1:44 AM
Top 3 sites for Data Structure?

#datastructure #coding #programming #software
March 5, 2025 at 11:02 AM
Nested datastructure in Python explained using Eg
#python
December 16, 2024 at 9:45 AM