thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chet Murthy <murthy.c...@gmail.com>
Subject Re: Thrift unions don't work as documented
Date Sat, 02 Dec 2017 18:44:25 GMT
I should have added that, the actual code for "erase bits and set new one"
would be something like:

          this->__sset = _t_const_value__isset() ;
          this->__isset.map_val = true;

It seems to me that a decent optimizer ought to be able to collapse all
that into a single store.  But I'm not sure.

--chet--

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message