Re: [pure-lang-users] llvm 2.3 - good news
Status: Beta
Brought to you by:
agraef
From: Albert G. <Dr....@t-...> - 2008-08-10 22:04:08
|
Albert Graef wrote: > One further avenue of working around LLVM's deficiencies there would be > to optimize the case that the expression to be evaluated is a constant > (number, string or list/tuple of constants), in which case I could just > skip the compilation step and directly convert the compile time > expression to a pure_expr* instead. I'll try that tomorrow. This is now implemented as well. In most cases, constant expressions at the toplevel aren't compiled any more but are directly converted to the runtime expression data structure. That makes assigning a big constant list to a global variable much faster. Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |