Re: [Cppcms-users] About raw filter translation.
Brought to you by:
artyom-beilis
From: Joerg S. <jo...@br...> - 2015-07-04 20:06:12
|
On Sun, Jul 05, 2015 at 02:09:16AM +0900, redred77 wrote: > It seems like raw filter in view template does nothing but just wraps input > variable. > So below two lines are just same. > > out()<<cppcms::filters::raw(content.hello); > out()<<content.hello; > > First one looks more structured which seems like to follow rules like other > filters. > But isn't it better for cppcms_tmpl_cc.py to translate like the second one > in a performance aspect view? It's inlined. Joerg |