worst asymptotic behavior (#259)

* ditched the log search in favor of the polynomial search otherwise poor carp can't search for xis boyfriend marseysamhyde querying "hyde" and instead of properly tag it ["sam", "hyde"] I had to ditch the search alg made in the image of G-d

* le new line

* anton-d on all dramaverse
master
DrTransmisia 2022-05-11 19:49:27 +02:00 committed by GitHub
parent ba1a5358c8
commit 04aefc2462
2 changed files with 8 additions and 1 deletions

View File

@ -35,7 +35,7 @@ def marsey_list():
# From database
emojis = [{
"name": emoji.name,
"author": author if SITE_NAME == 'rDrama' else None,
"author": author if SITE_NAME == 'rDrama' or author == "anton-d" else None,
# yikes, I don't really like this DB schema. Next time be better
"tags": emoji.tags.split(" ") + [emoji.name[len("marsey"):] if emoji.name.startswith("marsey") else emoji.name],
"count": emoji.count,

View File

@ -57,6 +57,13 @@
<label for="emoji-sel-2">Pat</label>
</div>
</fieldset>
<fieldset class="p-2">
<label style="display: inline">Search:</legend>
<div style="display: inline" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Iterate through all substrings of the query. YIKES">
<input type="checkbox" id="emoji-complete-search">
<label for="emoji-complete-search">complete</label>
</div>
</fieldset>
</div>
<div style="overflow-y: scroll;">