HackerTrans
TopNewTrendsCommentsPastAskShowJobs

Spoof7726

no profile record

comments

Spoof7726
·2 lata temu·discuss
> 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)
Spoof7726
·2 lata temu·discuss
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.
Spoof7726
·2 lata temu·discuss
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.
Spoof7726
·2 lata temu·discuss
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.