git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: What's cooking in git.git (Nov 2013, #05; Thu, 21)

From
Vicent Marti <vicent@github.com>
Date
Nov 22, 2013, 19:40 UTC
Message-ID
<CAFFjANQni7mvFBuAqJnPpTJ_68+rJKU6KmdRAWbyK_jbi0S=xA@mail.gmail.com>
In-Reply-To
<20131122172626.GA4881@sigill.intra.peff.net>
On Fri, Nov 22, 2013 at 6:26 PM, Jeff King <peff@peff.net> wrote:
Show 7 quoted lines
>> Granted, the way I verified this was checking whether you renamed
>> rlw_xor_run_bit() to something more fitting, so perhaps you just forgot
>> that one thing but did all the rest.
>
> I didn't touch that. Vicent, did you have a comment on the name (it
> really does look like it is a negation, and the only caller is
> ewah_not).

Yes, the name was ported straight from the original library and kept as-is to make the translation more straightforward. These sources are --again-- a translation, so I tried to remain as close to the original Java implementation as possible.

I agree the name is not ideal, but it does make quite a bit of sense. It effectively inverts the word based on the run bit, which is the equivalent of xoring it with the bit if it's one.

Love, vmg

Previous: Thomas RastNext: Thomas Rast
Message 8 of 15 in “What's cooking in git.git (Nov 2013, #05; Thu, 21)”
  1. Junio C HamanoNov 22, 2013
  2. Jeff KingNov 22, 2013
  3. Thomas RastNov 22, 2013
  4. Jeff KingNov 22, 2013
  5. Thomas RastNov 22, 2013
  6. Jeff KingNov 22, 2013
  7. Thomas RastNov 22, 2013
  8. Vicent MartiNov 22, 2013
  9. Thomas RastNov 22, 2013
  10. Junio C HamanoNov 22, 2013
  11. Vicent MartíNov 22, 2013
  12. Junio C HamanoNov 22, 2013
  13. Jeff KingNov 22, 2013
  14. Antoine PelisseNov 23, 2013
  15. Junio C HamanoNov 25, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.