On Wed, Oct 12, 2011 at 3:27 PM, <[email protected]> wrote: > Hi, > > While V8 is definitely awesome and sharing its regexp implementation would > likewise be awesome, it really isn't feasible. > > V8 isn't a collection of independent features, loosely coupled together > like Qt is - it is a tightly integrated, highly optimised whole. You cannot > simply link the V8 library and then tease out its regexp implementation. > The input, output and internal parameters, the code generator and the code > cache used by their regexp implementation are all expressed in terms of V8 > heap primitives. This not only means that all Qt's input types - like > QString - would need to be reallocated inside the V8 heap, it also means > that you need to run the V8 garbage collector to clean these resources up. > This in turn requires bootstrapping the rest of V8. In short, you are > running a JavaScript engine. >
Comparing to this fact, UTF-16 to UTF-8 seems trivial :-) I don't see any good alternative to PCRE, do you have something else in mind? Best regards, Sylvain
_______________________________________________ Qt5-feedback mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback
