]> git.lyx.org Git - features.git/commit
Improve performance of TextClass type objects by making BaseClassList and DocumentCla...
authorRichard Heck <rgheck@comcast.net>
Thu, 6 Mar 2008 23:31:40 +0000 (23:31 +0000)
committerRichard Heck <rgheck@comcast.net>
Thu, 6 Mar 2008 23:31:40 +0000 (23:31 +0000)
commit6f1cb456cf56d143ad49eb1cd202a1781bfdc0c1
treebd827702fe52422c4b1685bc3cfe70562302ad92
parent5166d49d2db3860b49b4569041035a6ffab1ad76
Improve performance of TextClass type objects by making BaseClassList and DocumentClassBundle containers of pointers rather than of objects, thus reducing the need to copy. Since these classes are singletons that live the life of the process, there's not much need to worry about memory leaks.

We take the opportunity to make TextClass objects noncopyable, nonassignable, etc.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23526 a592a061-630c-0410-9148-cb99ea01b6c8
src/BaseClassList.cpp
src/BaseClassList.h
src/TextClass.cpp
src/TextClass.h
src/tex2lyx/preamble.cpp
src/tex2lyx/tex2lyx.cpp
src/tex2lyx/tex2lyx.h