Talk:Unary coding
Latest comment: 2 months ago by Adroit in topic Prefix-free or self-synchronizing?
This article has not yet been rated on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||
|
Prefix-free or self-synchronizing?
editI'm new to this subject but I noticed an apparent contradiction:
> Unary coding is both a prefix-free code and a self-synchronizing code.
Is in the first paragraph, so I learn that Unary coding is prefix-free. But then clicking through to Self-synchronizing_code I read:
> Every self-synchronizing code is a prefix code, but not all prefix codes are self-synchronizing.
So if it's self-synchronizing it must be a prefix code, but the article says it's prefix-free. What am I missing? Paradox (talk) 17:27, 30 September 2024 (UTC)
- Nevermind - silly me, I thought that "prefix-free code" meant "code without prefixes" and thus assumed that "prefix code" meant the opposite, "code with prefixes".
- TIL that "prefix code" and "prefix-free code" are not opposites but actually synonyms.
- Sorry for the noise. I think the latter term is more intuitive, perhaps it could be used instead? Paradox (talk) 17:33, 30 September 2024 (UTC)