3 ms·
Hm, ok I understand more but how do you perform the "binary search", just loop over the URL ids? Funny I also selected "hello" and "world" above! Xo My system
by bullen 5y ago
Hm, ok I understand more but how do you perform the "binary search", just loop over the URL ids?
Funny I also selected "hello" and "world" above! Xo
My system is also written in Java btw!
Here are example results of my word search:
http://root.rupy.se/node/data/word/four http://root.rupy.se/node/data/word/four
http://root.rupy.se/node/data/word/only http://root.rupy.se/node/data/word/only
etc.
- marginalia_nu 5y agoI'll get back to your email in a while, I've got a ton of messages I'm working through. But yeah, in short pseudocode: for url in range-for-"hello": if binary-search (range-for-"world", url): yield url I do use streams, but that is the bare essence of it.