Bug 364396 - leverage static initialization of lists
Summary: leverage static initialization of lists
Status: RESOLVED FIXED
Alias: None
Product: TCF
Classification: Tools
Component: Agent (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: 0.6.0   Edit
Assignee: Project Inbox CLA
QA Contact: Eugene Tarassov CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-21 12:43 EST by Peder Andersen CLA
Modified: 2013-06-05 06:06 EDT (History)
2 users (show)

See Also:


Attachments
Proposed changes (20.91 KB, patch)
2011-11-21 12:43 EST, Peder Andersen CLA
mober.at+eclipse: iplog-
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peder Andersen CLA 2011-11-21 12:43:06 EST
Created attachment 207320 [details]
Proposed changes

By adding and using a static initializer for TCF's list structures, we gain more concise sources, marginally faster/smaller binaries, and also enable use of certain TCF APIs before the associated service has had its ini_<service>() routine invoked.
Comment 1 Eugene Tarassov CLA 2011-11-21 13:25:20 EST
I have committed the patch.
Thanks!
Comment 2 Martin Oberhuber CLA 2013-05-24 17:57:17 EDT
Comment on attachment 207320 [details]
Proposed changes

iplog- since git has the author:

http://git.eclipse.org/c/tcf/org.eclipse.tcf.agent.git/commit/?id=b7a76d5c2e04197a05f52d99a2401457b77ca83b