You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i should do a search on all the sub_string (line). If that returns any entries, just see that it fully matches a part
actually, this can be optimized quite a bit more - I can do the search directly on the large_string, and infer the lines containing the line from there (I would need to account for things such as case-sensitivity, case-insensitivity, and so on), but that is fine.
if I choose to go this route, I will have to think about it when I use several large string (when I will in fact allow for line_ex and such). So, I have to think of a general way to allow this.
another note: once I find results, i need to double check that the find is indeed correct (since it could be part of the line that is not included in search - such as level and such).
The text was updated successfully, but these errors were encountered:
This is solved in 1.6.27. See function line.raw_full_msg() - which basically provides the whole message (containing all parts). Combined with the other caching mechanism, this provides close to 5x speed improvements. Pretty good for now
- made large_string thread-safe
- large_string : cache last lines
- solved #46 optimize string_search when all columns = true (see
line.raw_full_msg)
- several improvements to search_form (before moving
load_surrounding_rows to a different thread)
i should do a search on all the sub_string (line). If that returns any entries, just see that it fully matches a part
actually, this can be optimized quite a bit more - I can do the search directly on the large_string, and infer the lines containing the line from there (I would need to account for things such as case-sensitivity, case-insensitivity, and so on), but that is fine.
if I choose to go this route, I will have to think about it when I use several large string (when I will in fact allow for line_ex and such). So, I have to think of a general way to allow this.
another note: once I find results, i need to double check that the find is indeed correct (since it could be part of the line that is not included in search - such as level and such).
The text was updated successfully, but these errors were encountered: