{"id":1467,"date":"2010-09-04T22:27:59","date_gmt":"2010-09-05T05:27:59","guid":{"rendered":"https:\/\/mathpirate.net\/log\/?p=1467"},"modified":"2010-09-04T22:27:59","modified_gmt":"2010-09-05T05:27:59","slug":"slight-indexer-change","status":"publish","type":"post","link":"https:\/\/mathpirate.net\/log\/2010\/09\/04\/slight-indexer-change\/","title":{"rendered":"Slight Indexer Change"},"content":{"rendered":"<p>I think I&#8217;m going to have the Indexer generate an index for prefix lengths 1, 2, and 3.\u00c2\u00a0 That way, it&#8217;ll be much easier to switch between them at generation time, which will let me play around more.\u00c2\u00a0 I don&#8217;t think it&#8217;s necessary to go to lengths of 4 or more, as those lengths are unlikely to produce the level of crazy that I&#8217;m looking for here.<\/p>\n<p>Furthermore, I realized that selecting the suffix based on probability vs. even distribution is something that can be handled strictly at generation time.\u00c2\u00a0 Just pull the list of possible suffixes in to a set, and choose from there.\u00c2\u00a0 It&#8217;s not as efficient as pre-calculating the two types at generation time, but it&#8217;s easier to do.<\/p>\n<p>Remember, it&#8217;s not about getting it done\u00c2\u00a0right, it&#8217;s about getting it done\u00c2\u00a0right now.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I think I&#8217;m going to have the Indexer generate an index for prefix lengths 1, 2, and 3.\u00c2\u00a0 That way, it&#8217;ll be much easier to switch between them at generation time, which will let me play around more.\u00c2\u00a0 I don&#8217;t think it&#8217;s necessary to go to lengths of 4 or more, as those lengths are [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[161],"tags":[15,16],"_links":{"self":[{"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/posts\/1467"}],"collection":[{"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/comments?post=1467"}],"version-history":[{"count":2,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/posts\/1467\/revisions"}],"predecessor-version":[{"id":1469,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/posts\/1467\/revisions\/1469"}],"wp:attachment":[{"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/media?parent=1467"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/categories?post=1467"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/tags?post=1467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}