~ubuntu-branches/ubuntu/utopic/critcl/utopic

« back to all changes in this revision

Viewing changes to doc/include/using_embed.inc

  • Committer: Package Import Robot
  • Author(s): Andrew Shadura
  • Date: 2013-05-11 00:08:06 UTC
  • Revision ID: package-import@ubuntu.com-20130511000806-7hq1zc3fnn0gat79
Tags: upstream-3.1.9
ImportĀ upstreamĀ versionĀ 3.1.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
This is the section for developers writing, or wishing to write, a
 
3
package embedding C into Tcl via critcl.
 
4
 
 
5
[para]
 
6
 
 
7
I guess that we are allowed to asssume that you, gentle reader, are
 
8
here because you have written some Tcl code which is not fast enough
 
9
(any more) and you wish to make it "go faster" by replacing parts (or
 
10
all) of it with speedy C.
 
11
 
 
12
[para]
 
13
 
 
14
Another, and I believe reasonable assumption to make would be that you
 
15
have already investigated and ruled out or done things like changes to
 
16
data structures and algorithms which reduce O(n*n) work to O (n*log n),
 
17
O(n), or even O(1).
 
18
 
 
19
Of course, nothing prevents you from forging ahead here even if you
 
20
have not done such. Still, even in that case I would recommend that
 
21
you consider investigating this line of making your code go faster as
 
22
well.
 
23
 
 
24
[para]
 
25
 
 
26
Now, with these introductory words out of the way, lets jump into the
 
27
meat of things.
 
28
 
 
29
[include using_eproc.inc]        [comment {%% cproc}]
 
30
[include using_ecommand.inc]     [comment {%% ccommand}]
 
31
[include using_edata.inc]        [comment {%% cdata}]
 
32
[include using_ecode.inc]        [comment {%% ccode}]
 
33
[include using_edefines.inc]     [comment {%% cdefines}]
 
34
[include using_eheaders.inc]     [comment {%% cheaders}]
 
35
[include using_ecsources.inc]    [comment {%% csources}]
 
36
[include using_elibraries.inc]   [comment {%% clibraries, framework}]
 
37
[include using_eflags.inc]       [comment {%% cflags, ldflags}]
 
38
[include using_etclc.inc]        [comment {%% tsources I}]
 
39
[include using_etclfallback.inc] [comment {%% tsources II, compiling, failed}]
 
40
[include using_eload.inc]        [comment {%% load}]
 
41
[include using_efailed.inc]      [comment {%% failed}]
 
42
[include using_etcl.inc]         [comment {%% tcl}]
 
43
[include using_etk.inc]          [comment {%% tk}]
 
44
[include using_echeck.inc]       [comment {%% check}]
 
45
[include using_elicense.inc]     [comment {%% license}]
 
46
 
 
47
[comment {
 
48
        No examples for: cinit, compiling, compiled, preload, done
 
49
}]