Toggle navigation Eli Bendersky's website About Code Archives /.navbar-collapse /.navbar The cost of dynamic (virtual calls) vs. static (CRTP) dispatch in C++ December 05, 2013 at 06:13 Tags Articles , Assembly , C & C++ /.post-info A couple of years ago I wrote an article about the Curiously Recurring Template Pattern in C++ , focusing on the motivation behind it and how to implement it. That article mentioned runtime performance as the main reason for employing CRTP instead of the more traditional runtime polymorphism (dispatch via virtual functions). While some rationale for the cost of virtual calls was given, I didn't go too deep into it. Today I want to fix that by carefully analyzing the performance of virtual calls as opposed to the static calls made possible by CRTP. Benchmarking in 2013 is really hard. Today's CPUs a...
[if lt IE 7]> <style type="text/css"> #logo_holder img { filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0); } #logo_holder { display: inline-block; width: 176px; height: 44px; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://store.akamai.steamstatic.com/public/images/v5/globalheader_logo.png'); } </style> <![endif] STORE COMMUNITY ABOUT SUPPORT Install Steam login | language Български (Bulgarian) čeština (Czech) Dansk (Danish) Nederlands (Dutch) Suomi (Finnish) Français (French) Ελληνικά (Greek) Deutsch (German) Magyar (Hungarian) Italiano (Italian) 日本語 (Japanese) 한국어 (Korean) Norsk (Norwegian) Polski (Polish) Português (Portuguese) Português-Brasil (Portuguese-Brazil) Русский (Russian) Română (Romanian) 简体中文 (Simplified Chinese) Español (Spanish) Svenska (Swedish) 繁體中文 (Traditional Chine...
A small freedom area. Templating in C Sat 28 Feb 2015 prog This question of how to make templating in C is often raised, and I couldn't find a good overview of the different approaches so I'll try to make a relatively exhaustive list here. Note: the methods presented here rely on the C preprocessor, which you can use directly yourself by calling the cpp command, paste your code and see the output by sending an EOS (pressing control + d typically). So the most common method is to dump some code enclosed (or not) into the do { ... } while (0) form: #define DO_RANDOM_STUFF(type) do { \ int i; \ type *p = buf; \ \ for (i = 0; i < len; i++) \ p[i] = p[i] * k; \ } while (0) ... and using it directly: int func ( void * buf , int len , float k , int request ) { if ( request == INT8 )...
<![endif] Twitter Search query Search Twitter Remove Verified account @ Suggested users Verified account @ Verified account @ Language: English Bahasa Indonesia Bahasa Melayu Čeština Dansk Deutsch English UK Español Filipino Français Italiano Magyar Nederlands Norsk Polski Português Română Suomi Svenska Tiếng Việt Türkçe Русский Українська мова עִבְרִית العربية فارسی हिन्दी বাংলা ภาษาไทย 한국어 日本語 简体中文 繁體中文 Have an account? Log in New to Twitter? Join Today » Log in Phone, email or username Password Log in Remember me Forgot password? Already using Twitter via text message? Follow Following Unfollow Blocked Unblock Pending Cancel InfoSec Taylor Swift @ SwiftOnSecurity Feb 23 *NIX is for peopl...
CL seattle > tacoma > for sale > cars & trucks - by owner post [ account ] 0 favorites — — — reply ✉ ☎ reply x prohibited [ ? ] Posted: 2015-02-26 6:49am ◀ prev ▲ next ▶ $2100 (Tacoma) < > 1989 nissan 300zx fuel : gas transmission : manual title status : clean condition: new safety tips prohibited items product recalls avoiding scams 89 Nissan 300zx Turbo V6 5speed Runs and drives great Welded diff Stock LCAs and tierods but I have some extended ones and shortend knuckles Needs heater core replaced and exhaust put back on 2100 obo I also have a wrecked 87 300zx for parts do NOT contact me with unsolicited services or offers post id: 4908265498 posted: 2015-02-26 6:49am updated: 2015-02-27 2:37am email to friend ♥ best of [ ? ] Avoid scams, deal locally Beware wiring (e.g. Western Union), cashier ...
CL portland > clark/cowlitz > for sale > cars & trucks - by owner post [ account ] 0 favorites — — — reply ✉ ☎ reply x prohibited [ ? ] Posted: 2015-02-19 7:12pm ◀ prev ▲ next ▶ $2500 < > 1982 Mazda rx7 fuel : gas transmission : manual title status : clean safety tips prohibited items product recalls avoiding scams Selling my 82 rx7. Just put a dellorto side draft on it. Street ported. Tires are almost new barley driven on. Comes with a box of parts and 2 extra doors. Text anytime call after 3pm. do NOT contact me with unsolicited services or offers post id: 4899370862 posted: 2015-02-19 7:12pm updated: 2015-02-24 10:39pm email to friend ♥ best of [ ? ] Avoid scams, deal locally Beware wiring (e.g. Western Union), cashier checks, money orders, shipping. safety tips prohibited items product recall...
CentralNotice Definition from Wiktionary, the free dictionary Jump to: navigation , search WOTD – 30 May 2008 1 English 1.1 Etymology 1.2 Pronunciation 1.3 Adjective 1.3.1 Usage notes 1.3.2 Synonyms 1.3.3 Related terms 1.3.4 Translations English [ edit ] Etymology [ edit ] From Latin obsequiōsus ( “ complaisant , obsequious ” ), from obsequium ( “ compliance ” ), from obsequor ( “ comply with, yield to ” ), from ob ( “ in the direction of, towards ” ) + sequor ( “ follow ” ) (see sequel). Pronunciation [ edit ] ( UK , US ) IPA ( key ) : /əbˈsiːkwi.əs/ Audio (US) Sorry, your browser either has JavaScript disabled or does not have any supported player. You can download the clip or download a player to play the clip in your browser. ( file ) Adjective [ edit ] obsequious ( comparative more obsequious , superlative most obsequious ) ...
Skip to content Sign up Sign in This repository Explore Features Enterprise Blog Watch 14 Star 75 Fork 7 infoforcefeed / OlegDB /.container /.repohead Code Issues Pull Requests Pulse Graphs HTTPS Subversion You can clone with HTTPS or Subversion . Download ZIP /.repository-sidebar Permalink Browse files Avoid reallocating buckets between databases during transactions. master commit d8920ecf98fd70299538c4c0698e6ddb979b1322 1 parent ad7e20f qpfiffer authored Feb 26, 2015 Unified Split Showing 1 changed file with 3 additions and 7 deletions . +3 −7 src/transaction.c 10 src/transaction.c Show notes View @@ -225,14 +225,10 @@ int olt_jar(ol_transaction *tx, const char *key, size_t klen, ...
SoundCloud Forget by spire published on 2015/01/02 17:10:43 +0000 A song I wrote for a friend :) Part of my upcoming hiphop mixtape which I'm yet to name, full version with the release. edit: no longer have the project file, chances are this will stay unfinished... Download Forget Users who like Forget Users who reposted Forget Playlists containing Forget Groups containing Forget More tracks like Forget License: all-rights-reserved You need to enable JavaScript to use SoundCloud Show me how to enable it Your current browser isn't compatible with SoundCloud. Please download one of our supported browsers. Need help? Chrome | Firefox | Safari | Internet Explorer Is your network connection unstable or browser outdated? I need help Try our mobile site...
Toggle navigation ruby/ruby Language Ruby Javascript search filters No filters Ruby/ruby (all versions) Ruby/ruby, version 2.2.0 Want more control? Use your projects' Gemfiles to customize your search results. It's easy and free! Upload a Gemfile! Send Us Feedback Sign in GitHub Google Facebook ruby/ruby toggle dropdown Loading... Loading... 2.2.0 toggle dropdown Loading... Package Files toggle dropdown Loading... Follow ruby Check it out: Write JavaScript code? We just launched Omniref for JavaScript ! Check it out! call(params,...) obj [params,...] obj (params,...) obj Docs Q & A Invokes the block, setting the block's parameters to the values in params using something close to method calling semantics. Generates a warning if multiple values are passed to a proc that expects just one (previously this silently converted the parameters to an array). Note that prc.() invokes prc.call() ...
SoundCloud BLNT.B for ℳixed ℱeelings by ℳixed ℱeelings ♥ published on 2015/01/28 01:40:23 +0000 https://soundcloud.com/blntb https://www.facebook.com/blnt.b.yo ~~~~~ https://soundcloud.com/mxedfeelngs tracklist: scenic bump - irregular expression and deadxbeat french inhale - bsd.u i effin love muzik - DaRk_KuRama coffee- purpan midnight - rethink Los indios - Ashkha 4 - [trash.goon] yourself - [matador] goodbye - yogi waves - baked_face Buy BLNT.B for ℳixed ℱeelings Users who like BLNT.B for ℳixed ℱeelings Users who reposted BLNT.B for ℳixed ℱeelings Playlists containing BLNT.B for ℳixed ℱeelings Groups containing BLNT.B for ℳixed ℱeelings More tracks like BLNT.B for ℳixed ℱeelings License: all-rights-reserved You need to enable JavaScript to use SoundCloud Show me how to enable it Your current browser isn't compatible with SoundCloud. Please downloa...
Brand and toggle get grouped for better mobile display Toggle navigation <a class="navbar-brand" href="/" target="_self">kim<span>o</span>n<span>o</span></a> kimono labs <p class="navbar-text hidden-sm hidden-xs">Create APIs where they don't exist</p> BETA {{size(new_features)}} Collect the nav links, forms, and other content for toggling Kimono Hacks Live Chat #BuiltWithKimono Pricing API Docs Help Center Blog {{global.user.name}} Account My APIs My Apps Combine APIs App Builder Admin Beta Invites Users All APIs All Apps Support Tickets Server Errors Logout Log in Sign up //navbar-collapse {{notification.type}} {{notification.message}} New! Search APIs created by other users! Turn websites into structured APIs from your browser in seconds <a href="/worldcup/explorer" id="WorldcupApiLink" target="_self">2014 Wo...
Archive What If? Blag Store About A webcomic of romance, sarcasm, math, and language. xkcd updates every Monday, Wednesday, and Friday. Standards |< < Prev Random Next > >| |< < Prev Random Next > >| Permanent link to this comic: http://xkcd.com/927/ Image URL (for hotlinking/embedding): http://imgs.xkcd.com/comics/standards.png HOW STANDARDS PROLIFERATE (See: A C chargers, character encodings, instant messaging, etc.) SITUATION: There are 14 competing standards. Geek: 14?! Ridiculous! We need to develop one universal standard that covers everyone's use cases. Fellow Geek: Yeah! Soon: SITUATION: There are 15 competing standards. {{Title text: Fortunately, the charging one has been solved now that we've all standardized on mini-USB. Or is it micro-USB? Shit.}} http://code.google.com/p/chromium/issues/detail?id=108489 Might be MIME dependent. Search...