numbers...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21416 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2007-11-04 09:38:51 +00:00
parent 2c9293e5af
commit f26f32155a
2 changed files with 34 additions and 64 deletions

View File

@ -1,37 +1,5 @@
#!/bin/bash
for i in \ for i in "$@" ; do
boost/bind.hpp \
boost/array.hpp \
boost/assert.hpp \
boost/crc.hpp \
boost/cregex.hpp \
boost/current_function.hpp \
boost/function.hpp \
boost/iterator/indirect_iterator.hpp \
boost/scoped_array.hpp \
boost/scoped_ptr.hpp \
boost/shared_ptr.hpp \
boost/signal.hpp \
boost/signals/connection.hpp \
boost/signals/trackable.hpp \
boost/tokenizer.hpp \
boost/tuple/tuple.hpp \
boost/utility.hpp \
boost/version.hpp \
boost/signals/trackable.hpp \
string \
vector \
map \
list \
deque \
QObject \
QString \
QList \
QVector \
QMap \
QHash \
QRegExp
do
echo "#include <$i>" > 1.cpp echo "#include <$i>" > 1.cpp
inc='-I/suse/usr/src/lyx/trunk/boost -I/usr/include/qt4/QtCore -I/usr/include/qt4' inc='-I/suse/usr/src/lyx/trunk/boost -I/usr/include/qt4/QtCore -I/usr/include/qt4'
l=`g++ $inc -DQT_NO_STL -E 1.cpp | wc -l` l=`g++ $inc -DQT_NO_STL -E 1.cpp | wc -l`

View File

@ -1,36 +1,38 @@
Some results on running 'g++ -E | wc -l' with the appropriate Some results on running 'g++ -E | wc -l' with the appropriate
includes/defines and a single #include in a compilation unit: includes/defines and a single #include in a compilation unit:
boost/signal.hpp : 62141 boost/signal.hpp : 62141
boost/signals/trackable.hpp : 40849 boost/signals/trackable.hpp : 40849
boost/tokenizer.hpp : 39490 boost/tokenizer.hpp : 39490
boost/iterator/indirect_iterator.hpp : 36922 boost/iterator/indirect_iterator : 36922
boost/signals/connection.hpp : 34957 boost/signals/connection.hpp : 34957
boost/function.hpp : 31379 boost/function.hpp : 31379
boost/array.hpp : 30205 boost/array.hpp : 30205
boost/utility.hpp : 30063 boost/utility.hpp : 30063
boost/cregex.hpp : 21575 boost/cregex.hpp : 21575
boost/shared_ptr.hpp : 17469 boost/shared_ptr.hpp : 17469
boost/scoped_ptr.hpp : 11411 boost/scoped_ptr.hpp : 11411
boost/crc.hpp : 5851 boost/crc.hpp : 5851
boost/tuple/tuple.hpp : 4927 boost/tuple/tuple.hpp : 4927
boost/scoped_array.hpp : 3029 boost/scoped_array.hpp : 3029
boost/assert.hpp : 52 boost/assert.hpp : 52
boost/current_function.hpp : 21 boost/current_function.hpp : 21
string : 18781 string : 18781
vector : 11994 vector : 11994
map : 12467 map : 12467
list : 11134 list : 11134
deque : 11805 deque : 11805
iosfwd : 6462 iosfwd : 6462
iostream : 29529 iostream : 29529
QObject : 5601
QString : 3876
QList : 1931
QVector : 4165
QMap : 2831
QHash : 7098
QRegExp : 3959 (boost/cregex.hpp : 21575
QSharedData : 838 (boost/shared_ptr.hpp : 17469)
QObject : 5601
QString : 3876
QList : 1931
QVector : 4165
QMap : 2831
QHash : 7098
QRegExp : 3959