Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
armada651
64 days ago
|
parent
|
context
|
favorite
| on:
A compact bitset implementation used in Ocarina of...
> The most novel aspect of OoT bitsets is that the first 4 bits in the 16-bit coordinate IDs index which bit is set.
Am I the only one who was trouble parsing this sentence correctly?
ethan_smith
64 days ago
|
next
[–]
It means the first 4 bits of a 16-bit ID determine which bit position (0-15) to set in the bitset, essentially using part of the ID itself as an index into the bitset.
coldpie
64 days ago
|
prev
|
next
[–]
No, haha, it took me a while, too. "Index" is operating as a verb here.
curiousgal
64 days ago
|
prev
|
next
[–]
The coordinates IDS are 16-bit long. The first 4 bits index (verb) which bit is set.
jb55
64 days ago
|
prev
[–]
prs welcome
jb55
64 days ago
|
parent
[–]
i updated the wording, hope its more clear
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Am I the only one who was trouble parsing this sentence correctly?