Bug 539855 - Very slow
Summary: Very slow
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: PHP UI CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 539854 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-10-05 12:47 EDT by Desafio Adventure Company CLA
Modified: 2020-05-14 10:17 EDT (History)
2 users (show)

See Also:


Attachments
About Eclipse IDE (72.14 KB, image/png)
2018-10-05 13:05 EDT, Desafio Adventure Company CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Desafio Adventure Company CLA 2018-10-05 12:47:06 EDT
When I open a file with a big lines, it's very very slow. 
And when I try search it's very very slow. 
For example a file has 124.851 characters in a same line. 
Please help me. Thanks
Comment 1 Desafio Adventure Company CLA 2018-10-05 12:56:53 EDT
*** Bug 539854 has been marked as a duplicate of this bug. ***
Comment 2 Desafio Adventure Company CLA 2018-10-05 13:05:17 EDT
Created attachment 276139 [details]
About Eclipse IDE
Comment 3 Dawid Pakula CLA 2018-10-22 03:51:24 EDT
This is known limitation of JFlex. It have a problems with very long lines.

For now we can't fix this without own lexer.
Comment 4 Desafio Adventure Company CLA 2018-10-22 11:34:18 EDT
Are you planning fix it?
Comment 5 Desafio Adventure Company CLA 2018-10-22 11:34:53 EDT
(In reply to Dawid Pakula from comment #3)
> This is known limitation of JFlex. It have a problems with very long lines.
> 
> For now we can't fix this without own lexer.

Are you planning fix it?
Comment 6 Dawid Pakula CLA 2018-10-22 16:20:39 EDT
Extremely long lines is very uncommon use case so it's not our priority. 

Anyway this is not related to JFlex. I made test on one of my symfony controller and checked profiler. Eclipse stuck on SWT, not on our parsers. 

Works better if you disable whitespace printing and highlighting current line, but still unacceptable. I'll try find correct eclipse bugs later.