Googles appar
Huvudmeny

Post a Comment On: cbloom rants

"02-18-14 - Understanding ANS - 12"

2 Comments -

1 – 2 of 2
Blogger Cyan said...

Interesting. I was looking for something equivalent, but got scared by the final sorting stage. Is it actually any faster than using an intermediate distribution table ?
Rgds

February 18, 2014 at 3:35 PM

Blogger cbloom said...

With the final sort included, no it's not any faster than just making the permutation table.

Obviously the non-sorting version is faster, but not by so much that it's worth the compression loss.

I think there is something there, but it would require some more careful work. For example, if "shuffle" is the prime stepping heuristic, then the sort order should be easier to generate than doing a full general purpose sort.

eg. at L = 32 it makes things like
{7,14,21,28,3,10,17}

which obviously you just divide into blocks of 4 and then interleave. There should be a fast way to do something like that.

February 18, 2014 at 3:44 PM

You can use some HTML tags, such as <b>, <i>, <a>

This blog does not allow anonymous comments.

Comment moderation has been enabled. All comments must be approved by the blog author.

You will be asked to sign in after submitting your comment.