I don't really care for the attention as much as I enjoy sharing useful scripts (although hopefully not flooding the boards with tons of attention whores).
Colton Robinson
Source?
Angel Johnson
It's 100% client sided senpai, the source is right there. You can't run it without having the source.
Blake Gray
You're just a faggot.
Grayson Flores
And where's the source that isn't minified.
Aaron Hernandez
Fair enough. I'll have it uploaded on github soon.
Justin Turner
How long does it take? I'm using a note 8 and I left it for 5 minutes with no result. Case ignored and starts with options selected. 6 letters total
Mason Bell
>6 letters, case ignored, starts with It'll certainly take a while. I can't give you a good estimate because it depends on multiple factors: >device processor speed >browser settings (some browsers throttle the speed) >your luck
If I had to make an educated guess, it would be anywhere between half an hour to 2 in your case.
Isaac Stewart
Thanks for the reply. I'll use my 4ghz i7 laptop later and post results if this thread is still open.
Asher Campbell
FYI. Also, fuck off phonefag, you have no business running this shit.
Additionally among the options, the performance should go like this (from fastest to slowest): Ignore cases >>> Case sensitive Contains >>> Starts with >>>>> Ends with (may vary)
Hunter Nguyen
As I say, it's an example. Double the amount of time taken for that you useless shitdick.
Rewrite it in WASM or something that will compile to it. This is a legitimate use case for it.
Kayden Sanchez
I will have to look into that
Luke Stewart
Congrats, you've made something that already exists with GPU acceleration
Adrian Thomas
I'm aware but I don't think I have seen one that works in the browser.
Brayden Brown
It's painfully slow, and none of my cores is above 20%. What the fuck.
Oliver Hernandez
It's using the Jquery Intervals instead of promises, I'm planning to write it with promises soon. (which will really just be a second option)
Easton Miller
That's like telling me your code is shit slow.
Evan Clark
So I am but apparently javascript is single threaded so promises won't even help since it'll just hang your browser in a while true. I'm not even good at javascript ffs. I wonder if there's some alternative.
Parker Anderson
Nevermind, scratch that. There's some worker thing.
Jackson Martinez
could GPU acceleration be somehow utilised in browser?
John Cox
A quick google says there's a gpu.js library, I don't know how well that would work especially since hardware acceleration is off by default on Chrome.
Colton Turner
why is this not using my cpu at all also it's slow as fuck >look for 3 letter string >tripcode explorer finds 3000 trips in half a second >this finds 2 trips in 15 seconds
Carter Allen
Because it uses Jquery intervals set to the lowest possible limit (your browser determines it). So it does not actually process 100% of the time.
Other than that, its not GPU accelerated.
Additionally for anyone who is interested, I have been running tests with web workers and while they don't actually hang your browser, they make your browser absolutely sluggish.
Well I have actually done it. Took me a whole 2 hours but I added workers and its more than 10 times faster by my estimates. Enjoy. Use the fast settings to use the new workers. Only thing left to really do is write it in wasm with gpu accel but it really isn't worth the effort imo.