Use more performant getAllTags function

This commit is contained in:
Jobobby04 2022-01-20 22:50:37 -05:00
parent 464f343e4a
commit 849add02ad

View File

@ -2,28 +2,30 @@ package exh.eh
object EHTags { object EHTags {
fun getAllTags() = getFemale0Tags() + fun getAllTags() = listOf(
getMale0Tags() + getFemale0Tags(),
getLanguage0Tags() + getMale0Tags(),
getReclass0Tags() + getLanguage0Tags(),
getMixed0Tags() + getReclass0Tags(),
getOther0Tags() + getMixed0Tags(),
getCosplayer0Tags() + getOther0Tags(),
getParody0Tags() + getCosplayer0Tags(),
getParody1Tags() + getParody0Tags(),
getCharacter0Tags() + getParody1Tags(),
getCharacter1Tags() + getCharacter0Tags(),
getCharacter2Tags() + getCharacter1Tags(),
getGroup0Tags() + getCharacter2Tags(),
getGroup1Tags() + getGroup0Tags(),
getGroup2Tags() + getGroup1Tags(),
getGroup3Tags() + getGroup2Tags(),
getArtist0Tags() + getGroup3Tags(),
getArtist1Tags() + getArtist0Tags(),
getArtist2Tags() + getArtist1Tags(),
getArtist3Tags() + getArtist2Tags(),
getArtist4Tags() + getArtist3Tags(),
getArtist5Tags() getArtist4Tags(),
getArtist5Tags(),
).flatten()
fun getReclass0Tags() = listOf( fun getReclass0Tags() = listOf(
"reclass:artistcg", "reclass:artistcg",