longsearch = """
'hello' in text
"""
splitsearch = """
for line in text.split('\\n'):
    if 'hello' in line:
        break
"""
presplitsearch = """
for line in lines:
    if 'hello' in line:
        break
"""
Эффективность поиска строки Python