ezc/src
Tomasz Sowa 0b09b5454f added: Pattern::CacheFunctions(Functions<StreamType> & fun)
you can cache all functions (their addresses) in the pattern

changed: now we have two methods for generating content:
       Generator<>::Generate(StreamType & o, Pattern & p, Functions<StreamType> & f);
       similar like previous -- Set(...) methods were removed as well as the second ctor 

       and a second one:
       Generate(StreamType & o, Pattern & p);
       without functions, the functions should be cached beforehand in the pattern
       by calling CacheFunctions() method on the pattern
       this gives O(1) complexity when looking for a specific function
       previously was O(log n) 
       


git-svn-id: svn://ttmath.org/publicrep/ezc/trunk@329 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-11-25 22:39:58 +00:00
..
Makefile fixed: when Pattern::allow_include was false then nothing was read 2010-02-15 00:19:31 +00:00
Makefile.dep added: Pattern::CacheFunctions(Functions<StreamType> & fun) 2010-11-25 22:39:58 +00:00
Makefile.o.dep added: support for UTF-8 (files utf8.h utf8.cpp) 2010-11-22 01:23:32 +00:00
ezc.h added: support for UTF-8 (files utf8.h utf8.cpp) 2010-11-22 01:23:32 +00:00
functions.h added: Pattern::CacheFunctions(Functions<StreamType> & fun) 2010-11-25 22:39:58 +00:00
funinfo.h added: support for UTF-8 (files utf8.h utf8.cpp) 2010-11-22 01:23:32 +00:00
generator.h added: Pattern::CacheFunctions(Functions<StreamType> & fun) 2010-11-25 22:39:58 +00:00
item.cpp added: support for UTF-8 (files utf8.h utf8.cpp) 2010-11-22 01:23:32 +00:00
item.h added: Pattern::CacheFunctions(Functions<StreamType> & fun) 2010-11-25 22:39:58 +00:00
pattern.cpp added: Pattern::CacheFunctions(Functions<StreamType> & fun) 2010-11-25 22:39:58 +00:00
pattern.h added: Pattern::CacheFunctions(Functions<StreamType> & fun) 2010-11-25 22:39:58 +00:00
stringconv.cpp fixed: performance (memcpy used too often) 2010-11-23 21:59:52 +00:00
stringconv.h added: support for UTF-8 (files utf8.h utf8.cpp) 2010-11-22 01:23:32 +00:00
utf8.cpp added: support for UTF-8 (files utf8.h utf8.cpp) 2010-11-22 01:23:32 +00:00
utf8.h added: support for UTF-8 (files utf8.h utf8.cpp) 2010-11-22 01:23:32 +00:00