[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

>tfw I spent 4 hours and still can't optimize a binary search

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 9
Thread images: 2

File: 1502148621250.png (293KB, 633x758px) Image search: [Google]
1502148621250.png
293KB, 633x758px
>tfw I spent 4 hours and still can't optimize a binary search
>>
What do you mean by optimize?
Have it be SIMD so you can close in faster for small arrays?
Are you doing some funky memory ordering to have the array sorted but non-linearly in for cache-line efficiency?
>>
File: marie.png (593KB, 1024x576px) Image search: [Google]
marie.png
593KB, 1024x576px
>>62043335
>tfw too intelligent for binary search trees
>>
>>62043431
If anon wanted fast she should definitively not use a binary search tree. Maybe a specialized structure like a trie but not a binary tree.
>>
>>62043454
>she
>>
>>62043465
>doesn't write software which randomizes the pronouns automatically for you to minimize your sexist bias in wording
Are you even a programmer?
>>
Fetch?
>>
>>62043483
There are no girls on the internet. You're forgetting the rules. Don't forget the rules.
>>
>>62043335
Tfw fell for the 16gb ram meme
Thread posts: 9
Thread images: 2


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.