| Summary: | AX: Avoid unnecessary copies in invalidStatus method | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Krzysztof Czech <k.czech> | ||||
| Component: | Accessibility | Assignee: | Krzysztof Czech <k.czech> | ||||
| Status: | RESOLVED WONTFIX | ||||||
| Severity: | Normal | CC: | aboxhall, apinheiro, cfleizach, commit-queue, darin, dmazzoni, jcraig, jdiggs, kling, mario, samuel_white, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Krzysztof Czech
2014-10-06 05:40:33 PDT
Created attachment 239331 [details]
proposed patch
Comment on attachment 239331 [details]
proposed patch
At some point I know we changed this to not be statics because people thought the cost of statics were higher than the cost of doing a string copy. I don't know what the current thinking is
(In reply to comment #3) > (From update of attachment 239331 [details]) > At some point I know we changed this to not be statics because people thought the cost of statics were higher than the cost of doing a string copy. I don't know what the current thinking is Thanks for clarifying me this, I do not know either what the current thinking is. (In reply to comment #4) > (In reply to comment #3) > > (From update of attachment 239331 [details] [details]) > > At some point I know we changed this to not be statics because people thought the cost of statics were higher than the cost of doing a string copy. I don't know what the current thinking is > Thanks for clarifying me this, I do not know either what the current thinking is. My guess is that unless this is a hot patch of code people would probably prefer to not make more statics. Thx Thanks Chris for putting some light on this. It seems we should carefully add new statics. Comment on attachment 239331 [details]
proposed patch
I think we should probably skip this. Do you agree?
(In reply to comment #7) > Comment on attachment 239331 [details] > proposed patch > > I think we should probably skip this. Do you agree? Thanks Chris, yes I agree we should skip this one. |