bitset: optimize the code generated by shifts in common cases
* spot/misc/bitset.hh: Here. * spot/misc/bitset.cc: New file. * spot/misc/Makefile.am: Add it. * spot/twa/acc.hh: Conditionally remove the exception checks around shift operators. * spot/misc/common.hh (SPOT_ASSUME): New macro.
This commit is contained in:
parent
e979791071
commit
cc2c4615d0
5 changed files with 118 additions and 55 deletions
|
|
@ -61,6 +61,7 @@ misc_HEADERS = \
|
|||
noinst_LTLIBRARIES = libmisc.la
|
||||
libmisc_la_SOURCES = \
|
||||
bareword.cc \
|
||||
bitset.cc \
|
||||
bitvect.cc \
|
||||
escape.cc \
|
||||
formater.cc \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue