mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-25 06:42:27 +00:00
Experiment with making Python go faster
The goal is to put the compiled pyc files in the APE ZIP.
This commit is contained in:
parent
4486ad5c9e
commit
ebb8c85496
33 changed files with 9483 additions and 1859 deletions
|
@ -29,6 +29,6 @@ TEST(StripComponents, test) {
|
|||
EXPECT_STREQ("hello", StripComponents("a/b/hello", 3));
|
||||
EXPECT_STREQ("hello", StripComponents("a/b/hello", 2));
|
||||
EXPECT_STREQ("b/hello", StripComponents("a/b/hello", 1));
|
||||
EXPECT_STREQ("hello", StripComponents("a///b/hello", 2));
|
||||
EXPECT_STREQ("b/hello", StripComponents("///a/b/hello", 1));
|
||||
EXPECT_STREQ("/foo/bar", StripComponents("o//foo/bar", 1));
|
||||
EXPECT_STREQ("foo/bar", StripComponents("o//foo/bar", 2));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue