Bug 330213 - performance issue with large PHP files
Summary: performance issue with large PHP files
Status: REOPENED
Alias: None
Product: DLTK
Classification: Technology
Component: Common (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: dltk.common-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-15 03:11 EST by Zhongwei Zhao CLA
Modified: 2011-02-10 08:06 EST (History)
2 users (show)

See Also:


Attachments
patch (5.21 KB, patch)
2010-11-15 03:11 EST, Zhongwei Zhao CLA
no flags Details | Diff
sample file (303.70 KB, application/octet-stream)
2010-11-15 03:14 EST, Zhongwei Zhao CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zhongwei Zhao CLA 2010-11-15 03:11:04 EST
when edit the sample code in php editor,the performance is very bad
Comment 1 Zhongwei Zhao CLA 2010-11-15 03:11:58 EST
Created attachment 183106 [details]
patch
Comment 2 Zhongwei Zhao CLA 2010-11-15 03:14:05 EST
Created attachment 183107 [details]
sample file

please fix this issue on branch as well,thanks!
Comment 3 Vladislav Kuzkokov CLA 2011-02-10 07:40:47 EST

*** This bug has been marked as a duplicate of bug 326261 ***
Comment 4 Vladislav Kuzkokov CLA 2011-02-10 08:06:44 EST
I see it's technically not a duplicate.

(In response to Comment #1)
Proposed patch relies on the fact that SourceRefElements are stored in order. While this is likely to be true I can't see why it should be enforced.