OP 24 March, 2022 - 09:15 AM
This post is by a banned member (UberFuck) - Unhide
24 March, 2022 - 03:40 PM
(This post was last modified: 25 March, 2022 - 10:12 AM by UberFuck. Edited 3 times in total.)
Not trying to rag, but why would you check to see if the line is in your storehouse variable before adding it? A set() collection doesn't allow duplicates.
You could do this and get the same result...faster, less complex, and less working memory. The only downside I can see is that the line order isn't preserved. Edit...the below preserves the order and is actually faster than what I first posted.
This post is by a banned member (redone12) - Unhide
24 March, 2022 - 07:55 PM
Gotta take a look thanks.
LEECHERS WILL BE REPORTED :pepegun:
This post is by a banned member (theriddler) - Unhide
OP 25 March, 2022 - 09:52 AM
(24 March, 2022 - 03:40 PM)foxegado Wrote: Show More Appreciate your reply! I'm always happy to learn stuff and well your example just seems better. Making Openbullet configs and Python scripts.
|
Create an account or sign in to comment | ||
You need to be a member in order to leave a comment | ||
Create an account
Sign up for a new account in our community. It's easy!
|
or |
Sign in
Already have an account? Sign in here.
|
Users browsing this thread: 2 Guest(s)