diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-07-26 23:21:10 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-08-01 12:14:10 -0400 |
commit | 6b6fac209c97d5961ea875d4b22f66fa97272876 (patch) | |
tree | 5b12f2e80cc7697712ca7a2db622974105593f48 /src/file_util.h | |
parent | db8dc0e9f8c739a07089ca8077d49cf9c902ddc4 (diff) |
Optimize compile time by using asm.
Switches to using asm incbin to embed the V8 snapshot instead of
outputing C code and then compiling it.
Compile time for from_snapshot.o goes from 44s to 1s.
Diffstat (limited to 'src/file_util.h')
-rw-r--r-- | src/file_util.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/file_util.h b/src/file_util.h index bba512c0d..c8c0e5759 100644 --- a/src/file_util.h +++ b/src/file_util.h @@ -7,7 +7,6 @@ namespace deno { bool ReadFileToString(const char* fn, std::string* contents); std::string Basename(std::string const& filename); -std::string BinaryContentAsC(const char* name, const std::string& data); } // namespace deno #endif // FILE_UTIL_H_ |