Skip to content

Commit a10fd84

Browse files
committed
Changes to reflect reviews
1 parent a9b147c commit a10fd84

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

doc/Language/compilation.pod6

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
=begin pod :kind("Language") :subkind("Language") :category("tutorial")
22
3-
=TITLE Compilation
3+
=TITLE CompUnits and where to find them
44
55
=SUBTITLE How and when Raku modules are compiled, where they are stored, and how to access them in compiled form.
66
@@ -193,10 +193,14 @@ Such a filter is given by way of a C<CompUnit::DependencySpecification> object w
193193
194194
When looking through candidates, the Installation repository will smart match a module's long name against this
195195
DependencySpecification or rather the individual fields against the individual matchers.
196-
Thus a matcher may be some concrete value, a version range or even a regex.
196+
Thus a matcher may be some concrete value, a version range or even a regex (though an arbitrary regex, such as C<.*>,
197+
would not produce a useful result, but something like C<3.20.1+> will only find candidates higher than 3.20.1).
198+
199+
Loading the meta data of all installed distributions would be prohibitively slow. The current immplementation of
200+
the C<Raku> framework uses
201+
the file system as a kind of database. However, another implementation may use another strategy. The following description
202+
shows how one implementation works and is included here to illustrate what is happening.
197203
198-
Loading the meta data of all installed distributions would be prohibitively slow.
199-
Instead, we use the file system as a kind of database.
200204
We store not only a distribution's files but also create indices for speeding up lookups.
201205
One of these indices comes in the form of directories named after the short-name of installed modules.
202206
However most of the file systems in common use today cannot handle Unicode names, so we cannot just use

0 commit comments

Comments
 (0)