xbase expression performance issue with nested feature calls [message #1753914] |
Sun, 12 February 2017 06:29  |
Eclipse User |
|
|
|
Hi,
We are upgrading an xbase based dsl project from 2.3.1 to 2.10 and met a performance issue. It seems that when an xbase expression is deeply nested with feature calls, the performance is poor.
The following xbase expression in op will always block the IDE:
//file: test.dmodel
package t{
entity M{
op t(){
(1..10).forEach[
(1..10).forEach[
(1..10).forEach[
(1..10).forEach[
(1..10).forEach[
(1..10).forEach[
(1..10).forEach[
(1..10).forEach[
(1..10).forEach[
(1..10).forEach[
]]]]]]]]]]
}
}
}
This can be reproduced using the example dmodel project.
We are using a xbase based language for GWT development and need html alike deeply nested structure to express screen layout.
Thanks
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07509 seconds