Better HN
topnewbestaskshowjobs
Log inSign up

Spoof7726

9 karma · joined Jul 3, 2024 (2y ago) · 4 submissions

Submissions

comment 1y ago · link · parent

> Fish also uses threads for its award-winning (note to editor: find an actual award) autosuggestions and syntax highlighting, and one long-term project is to add concurrency to the language.

(note to editor: find an actual award)

comment 1y ago · link · parent

I completely agree. I don’t think the paper is practical either; I shared it only to show that random access is possible in theory.

comment 1y ago · link · parent

Because division is not trivial. Even computing x mod 3 for an n-bit integer x is O(n), if x is represented in the binary form.

comment 1y ago · link · parent

This is exactly a Succinct Data Structure. The solution proposed by the author doesn't allow random access; that is, you can't access a specific A[i] unless you unpack all of them. There is some research (e.g., [1]) allowing random access within reasonable time with slightly more storage, although it is almost entirely of theoretical interest.

[1]: Mihai Patrascu, Succincter, FOCS 2008 best student paper.