# Daniel Lemire's blog lemire.me

 Post (required) * Required; the Post you're subscribing to. — All Comments/Replies — May 28th, 2021 8:21 pm — "Pawel Palinkiewicz" writes: I have arrived at n=floor( log10(integer[...] May 28th, 2021 11:12 pm — "Victor Zverovich" writes: Please note that this may give a wrong a[...] May 29th, 2021 6:04 am — "George Spelvin" writes: I have arrived at n=floor( log10(integer[...] May 29th, 2021 10:04 am — "camel-cdr" writes: I found that the assembly of int digit_c[...] May 29th, 2021 3:25 pm — "Daniel Lemire" writes: You are correct, it should reduce the la[...] May 29th, 2021 9:43 pm — "Josh Bleecher Snyder" writes: Thanks for ruining my Saturday morning. [...] May 29th, 2021 10:16 pm — "Josh Bleecher Snyder" writes: Go package: https://github.com/josharian[...] May 30th, 2021 7:55 am — "Thomas Müller Graf" writes: There’s a relatively large number of g[...] May 30th, 2021 7:31 pm — "Josh Bleecher Snyder" writes: Congrats, you ruined Sunday, too. :) I g[...] May 31st, 2021 7:24 am — "Thomas Müller Graf" writes: Where the “if (v >= p10)” can result[...] May 31st, 2021 12:58 pm — "Daniel Lemire" writes: I expect that the branch gets compiled t[...] May 31st, 2021 2:46 pm — "Thomas Müller Graf" writes: Yes, I also hope a conditional move is p[...] Jun 1st, 2021 11:22 pm — "Travis Downs" writes: Well if the probability of needing the f[...] Jun 2nd, 2021 1:26 am — "Daniel Lemire" writes: Yes. That’s a good point, but I am not[...] Jun 2nd, 2021 1:53 am — "Travis Downs" writes: No, I think it does either, just sort of[...] Jun 2nd, 2021 2:20 am — "Daniel Lemire" writes: I am sure that there must be a clever wa[...] Jun 2nd, 2021 8:09 am — "George Spelvin" writes: This us, unfortunately, silly. You’re [...] Jun 2nd, 2021 4:38 pm — "Josh Bleecher Snyder" writes: It may be many things, but I do not beli[...] Jun 2nd, 2021 5:07 pm — "Daniel Lemire" writes: It looks like AMD processors (Zen+, Zen2[...] Jun 2nd, 2021 10:10 pm — "Travis Downs" writes: mov ecx, edi is redundant there and you [...] Jun 2nd, 2021 10:22 pm — "Travis Downs" writes: Nevermind, it’s not redundant, but it [...] Jun 2nd, 2021 10:24 pm — "Travis Downs" writes: This is really clever, BTW. Jun 3rd, 2021 12:39 am — "Daniel Lemire" writes: I plan to write up an explanation of how[...] Jun 3rd, 2021 6:17 am — "KWillets" writes: I see – you’re moving the step in de[...] Jun 3rd, 2021 5:57 pm — "KWillets" writes: Last night I realized that Josh’s appr[...] Jun 3rd, 2021 6:17 pm — "Daniel Lemire" writes: ….!!!!!….. Jun 3rd, 2021 6:59 pm — "KWillets" writes: Here is the source — pardon my macro: [...] Jun 3rd, 2021 7:00 pm — "Daniel Lemire" writes: Oh. I already had reimplemented it. The [...] Jun 3rd, 2021 7:01 pm — "Daniel Lemire" writes: Blog post coming up. Jun 3rd, 2021 7:22 pm — "Daniel Lemire" writes: Blog post at https://lemire.me/blog/2021[...] Jul 17th, 2022 8:56 am — "Nikolay" writes: I am wondering if a fast solution exists[...] instantly hourly daily weekly Any value that is not `instantly` results in a digest instead of instant notifications.